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

Function test_pytester_run_no_timeout

testing/test_pytester.py:455–457  ·  view source on GitHub ↗
(pytester: Pytester)

Source from the content-addressed store, hash-verified

453
454
455def test_pytester_run_no_timeout(pytester: Pytester) -> None:
456 testfile = pytester.makepyfile("def test_no_timeout(): pass")
457 assert pytester.runpytest_subprocess(testfile).ret == ExitCode.OK
458
459
460def test_pytester_run_with_timeout(pytester: Pytester) -> None:

Callers

nothing calls this directly

Calls 2

makepyfileMethod · 0.45
runpytest_subprocessMethod · 0.45

Tested by

no test coverage detected