Method
test_pytest_custom_cfg_unsupported
(self, pytester: Pytester)
Source from the content-addressed store, hash-verified
| 1877 | pytester.runpytest() |
| 1878 | |
| 1879 | def test_pytest_custom_cfg_unsupported(self, pytester: Pytester) -> None: |
| 1880 | pytester.makefile( |
| 1881 | ".cfg", |
| 1882 | custom=""" |
| 1883 | [pytest] |
| 1884 | addopts = --verbose |
| 1885 | """, |
| 1886 | ) |
| 1887 | with pytest.raises(pytest.fail.Exception): |
| 1888 | pytester.runpytest("-c", "custom.cfg") |
| 1889 | |
| 1890 | |
| 1891 | class TestPytestPluginsVariable: |
Callers
nothing calls this directly
Tested by
no test coverage detected