MCPcopy Create free account
hub / github.com/pytest-dev/pytest / test_pytest_setup_cfg_unsupported

Method test_pytest_setup_cfg_unsupported

testing/test_config.py:1868–1877  ·  view source on GitHub ↗
(self, pytester: Pytester)

Source from the content-addressed store, hash-verified

1866
1867class 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

Calls 2

makefileMethod · 0.45
runpytestMethod · 0.45

Tested by

no test coverage detected