MCPcopy Create free account
hub / github.com/pytest-dev/pytest / _is_capturing

Method _is_capturing

src/_pytest/debugging.py:106–109  ·  view source on GitHub ↗
(cls, capman: Optional["CaptureManager"])

Source from the content-addressed store, hash-verified

104
105 @classmethod
106 def _is_capturing(cls, capman: Optional["CaptureManager"]) -> Union[str, bool]:
107 if capman:
108 return capman.is_capturing()
109 return False
110
111 @classmethod
112 def _import_pdb_cls(cls, capman: Optional["CaptureManager"]):

Callers 2

do_continueMethod · 0.80
_init_pdbMethod · 0.80

Calls 1

is_capturingMethod · 0.80

Tested by

no test coverage detected