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

Method _suspend

src/_pytest/capture.py:977–980  ·  view source on GitHub ↗

Suspend this fixture's own capturing temporarily.

(self)

Source from the content-addressed store, hash-verified

975 return CaptureResult(captured_out, captured_err)
976
977 def _suspend(self) -> None:
978 """Suspend this fixture's own capturing temporarily."""
979 if self._capture is not None:
980 self._capture.suspend_capturing()
981
982 def _resume(self) -> None:
983 """Resume this fixture's own capturing temporarily."""

Callers 1

suspend_fixtureMethod · 0.80

Calls 1

suspend_capturingMethod · 0.80

Tested by

no test coverage detected