| 941 | from _pytest.logging import _LiveLoggingStreamHandler |
| 942 | |
| 943 | class MockCaptureManager: |
| 944 | calls = [] |
| 945 | |
| 946 | @contextlib.contextmanager |
| 947 | def global_and_fixture_disabled(self): |
| 948 | self.calls.append("enter disabled") |
| 949 | yield |
| 950 | self.calls.append("exit disabled") |
| 951 | |
| 952 | class DummyTerminal(io.StringIO): |
| 953 | def section(self, *args, **kwargs): |
no outgoing calls