MCPcopy
hub / github.com/pytest-dev/pytest / flush

Method flush

testing/test_debugging.py:191–196  ·  testing/test_debugging.py::TestPDB.flush
(child)

Source from the content-addressed store, hash-verified

189
190 @staticmethod
191 def flush(child):
192 if child.isalive():
193 class="cm"># Read if the test has not (e.g. test_pdb_unittest_skip).
194 child.read()
195 child.wait()
196 assert not child.isalive()
197
198 def test_pdb_unittest_postmortem(self, pytester: Pytester) -> None:
199 p1 = pytester.makepyfile(

Calls 1

readMethod · 0.45

Tested by

no test coverage detected