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

Class MockCaptureManager

testing/logging/test_reporting.py:838–845  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

836 from _pytest.logging import _LiveLoggingStreamHandler
837
838 class MockCaptureManager:
839 calls = []
840
841 @contextlib.contextmanager
842 def global_and_fixture_disabled(self):
843 self.calls.append("enter disabled")
844 yield
845 self.calls.append("exit disabled")
846
847 class DummyTerminal(io.StringIO):
848 def section(self, *args, **kwargs):

Callers 1

Calls

no outgoing calls

Tested by 1