Method
test_pytest_setup_cfg_unsupported
(self, pytester: Pytester)
Source from the content-addressed store, hash-verified
| 1866 | |
| 1867 | class TestSetupCfg: |
| 1868 | def test_pytest_setup_cfg_unsupported(self, pytester: Pytester) -> None: |
| 1869 | pytester.makefile( |
| 1870 | ".cfg", |
| 1871 | setup=""" |
| 1872 | [pytest] |
| 1873 | addopts = --verbose |
| 1874 | """, |
| 1875 | ) |
| 1876 | with pytest.raises(pytest.fail.Exception): |
| 1877 | pytester.runpytest() |
| 1878 | |
| 1879 | def test_pytest_custom_cfg_unsupported(self, pytester: Pytester) -> None: |
| 1880 | pytester.makefile( |
Callers
nothing calls this directly
Tested by
no test coverage detected