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

Method _is_started

src/_pytest/capture.py:987–991  ·  view source on GitHub ↗

Whether actively capturing -- not disabled or closed.

(self)

Source from the content-addressed store, hash-verified

985 self._capture.resume_capturing()
986
987 def _is_started(self) -> bool:
988 """Whether actively capturing -- not disabled or closed."""
989 if self._capture is not None:
990 return self._capture.is_started()
991 return False
992
993 @contextlib.contextmanager
994 def disabled(self) -> Generator[None]:

Callers 1

Calls 1

is_startedMethod · 0.80

Tested by

no test coverage detected