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

Method stop_global_capturing

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

Source from the content-addressed store, hash-verified

774 self._global_capturing.start_capturing()
775
776 def stop_global_capturing(self) -> None:
777 if self._global_capturing is not None:
778 self._global_capturing.pop_outerr_to_orig()
779 self._global_capturing.stop_capturing()
780 self._global_capturing = None
781
782 def resume_global_capture(self) -> None:
783 # 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