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

Method _is_started

src/_pytest/capture.py:860–864  ·  view source on GitHub ↗

Whether actively capturing -- not disabled or closed.

(self)

Source from the content-addressed store, hash-verified

858 self._capture.resume_capturing()
859
860 def _is_started(self) -> bool:
861 """Whether actively capturing -- not disabled or closed."""
862 if self._capture is not None:
863 return self._capture.is_started()
864 return False
865
866 @contextlib.contextmanager
867 def disabled(self) -> Generator[None, None, None]:

Callers 1

Calls 1

is_startedMethod · 0.80

Tested by

no test coverage detected