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

Function test_pytester_subprocess

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

Source from the content-addressed store, hash-verified

422
423
424def test_pytester_subprocess(pytester: Pytester) -> None:
425 testfile = pytester.makepyfile("def test_one(): pass")
426 assert pytester.runpytest_subprocess(testfile).ret == 0
427
428
429def test_pytester_subprocess_via_runpytest_arg(pytester: Pytester) -> None:

Callers

nothing calls this directly

Calls 2

makepyfileMethod · 0.45
runpytest_subprocessMethod · 0.45

Tested by

no test coverage detected