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

Method test_pytest_custom_cfg_unsupported

testing/test_config.py:1879–1888  ·  view source on GitHub ↗
(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
1891class TestPytestPluginsVariable:

Callers

nothing calls this directly

Calls 2

makefileMethod · 0.45
runpytestMethod · 0.45

Tested by

no test coverage detected