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

Function test_fail_reporting_on_pass

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

Source from the content-addressed store, hash-verified

1095
1096
1097def test_fail_reporting_on_pass(pytester: Pytester) -> None:
1098 pytester.makepyfile("def test_this(): assert 1")
1099 result = pytester.runpytest("-rf")
1100 result.stdout.no_fnmatch_line("*short test summary*")
1101
1102
1103def test_pass_extra_reporting(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