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

Method test_capture_no

testing/test_terminal.py:2118–2125  ·  view source on GitHub ↗
(self, many_tests_files, pytester: Pytester)

Source from the content-addressed store, hash-verified

2116 )
2117
2118 def test_capture_no(self, many_tests_files, pytester: Pytester) -> None:
2119 output = pytester.runpytest("-s")
2120 output.stdout.re_match_lines(
2121 [r"test_bar.py \.{10}", r"test_foo.py \.{5}", r"test_foobar.py \.{5}"]
2122 )
2123
2124 output = pytester.runpytest("--capture=no")
2125 output.stdout.no_fnmatch_line("*%]*")
2126
2127
2128class TestProgressWithTeardown:

Callers

nothing calls this directly

Calls 3

re_match_linesMethod · 0.80
no_fnmatch_lineMethod · 0.80
runpytestMethod · 0.45

Tested by

no test coverage detected