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

Method suspend_global_capture

src/_pytest/capture.py:788–790  ·  view source on GitHub ↗
(self, in_: bool = False)

Source from the content-addressed store, hash-verified

786 self._global_capturing.resume_capturing()
787
788 def suspend_global_capture(self, in_: bool = False) -> None:
789 if self._global_capturing is not None:
790 self._global_capturing.suspend_capturing(in_=in_)
791
792 def suspend(self, in_: bool = False) -> None:
793 # Need to undo local capsys-et-al if it exists before disabling global capture.

Callers 10

suspendMethod · 0.95
item_captureMethod · 0.95
setupMethod · 0.80
_show_fixture_actionFunction · 0.80

Calls 1

suspend_capturingMethod · 0.80