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

Function test_no_summary_collecterror

testing/test_terminal.py:2354–2357  ·  view source on GitHub ↗
(pytester: Pytester)

Source from the content-addressed store, hash-verified

2352
2353
2354def test_no_summary_collecterror(pytester: Pytester) -> None:
2355 p1 = pytester.makepyfile("raise SyntaxError()")
2356 result = pytester.runpytest("-ra", "--no-summary", str(p1))
2357 result.stdout.no_fnmatch_line("*= ERRORS =*")
2358
2359
2360def test_via_exec(pytester: Pytester) -> None:

Callers

nothing calls this directly

Calls 3

no_fnmatch_lineMethod · 0.80
makepyfileMethod · 0.45
runpytestMethod · 0.45

Tested by

no test coverage detected