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

Function test_debug

testing/test_helpconfig.py:111–115  ·  view source on GitHub ↗
(pytester: Pytester)

Source from the content-addressed store, hash-verified

109
110
111def test_debug(pytester: Pytester) -> None:
112 result = pytester.runpytest_subprocess("--debug")
113 assert result.ret == ExitCode.NO_TESTS_COLLECTED
114 p = pytester.path.joinpath("pytestdebug.log")
115 assert "pytest_sessionstart" in p.read_text("utf-8")
116
117
118def test_PYTEST_DEBUG(pytester: Pytester, monkeypatch) -> None:

Callers

nothing calls this directly

Calls 1

runpytest_subprocessMethod · 0.45

Tested by

no test coverage detected