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

Method stop_global_capturing

src/_pytest/capture.py:664–668  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

662 self._global_capturing.start_capturing()
663
664 def stop_global_capturing(self) -> None:
665 if self._global_capturing is not None:
666 self._global_capturing.pop_outerr_to_orig()
667 self._global_capturing.stop_capturing()
668 self._global_capturing = None
669
670 def resume_global_capture(self) -> None:
671 # During teardown of the python process, and on rare occasions, capture

Callers 4

pytest_internalerrorMethod · 0.95
test_init_capturingMethod · 0.95

Calls 2

pop_outerr_to_origMethod · 0.80
stop_capturingMethod · 0.80

Tested by 2

test_init_capturingMethod · 0.76