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

Method suspend

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

Source from the content-addressed store, hash-verified

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.
794 self.suspend_fixture()
795 self.suspend_global_capture(in_)
796
797 def resume(self) -> None:
798 self.resume_global_capture()

Callers

nothing calls this directly

Calls 2

suspend_fixtureMethod · 0.95

Tested by

no test coverage detected