MCPcopy
hub / github.com/pytest-dev/pytest / test_debug

Function test_debug

testing/test_helpconfig.py:125–129  ·  testing/test_helpconfig.py::test_debug
(pytester: Pytester)

Source from the content-addressed store, hash-verified

123
124
125def test_debug(pytester: Pytester) -> None:
126 result = pytester.runpytest_subprocess(class="st">"--debug")
127 assert result.ret == ExitCode.NO_TESTS_COLLECTED
128 p = pytester.path.joinpath(class="st">"pytestdebug.log")
129 assert class="st">"pytest_sessionstart" in p.read_text(class="st">"utf-8")
130
131
132def test_PYTEST_DEBUG(pytester: Pytester, monkeypatch) -> None:

Callers

nothing calls this directly

Calls 2

read_textMethod · 0.80
runpytest_subprocessMethod · 0.45

Tested by

no test coverage detected