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

Function runfiletest

testing/test_config.py:906–910  ·  view source on GitHub ↗
(opts: Sequence[str])

Source from the content-addressed store, hash-verified

904
905def test_options_on_small_file_do_not_blow_up(pytester: Pytester) -> None:
906 def runfiletest(opts: Sequence[str]) -> None:
907 reprec = pytester.inline_run(*opts)
908 passed, skipped, failed = reprec.countoutcomes()
909 assert failed == 2
910 assert skipped == passed == 0
911
912 path = str(
913 pytester.makepyfile(

Calls 2

countoutcomesMethod · 0.80
inline_runMethod · 0.45

Tested by

no test coverage detected