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

Method resume_global_capture

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

Source from the content-addressed store, hash-verified

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
784 # attributes can be `None` while trying to resume global capture.
785 if self._global_capturing is not None:
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:

Callers 6

resumeMethod · 0.95
item_captureMethod · 0.95
_show_fixture_actionFunction · 0.80

Calls 1

resume_capturingMethod · 0.80

Tested by 1