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

Method flush

testing/test_debugging.py:159–164  ·  view source on GitHub ↗
(child)

Source from the content-addressed store, hash-verified

157
158 @staticmethod
159 def flush(child):
160 if child.isalive():
161 # Read if the test has not (e.g. test_pdb_unittest_skip).
162 child.read()
163 child.wait()
164 assert not child.isalive()
165
166 def test_pdb_unittest_postmortem(self, pytester: Pytester) -> None:
167 p1 = pytester.makepyfile(

Calls 1

readMethod · 0.45

Tested by

no test coverage detected