Temporarily disable capturing while inside the ``with`` block.
(self)
| 992 | |
| 993 | @contextlib.contextmanager |
| 994 | def disabled(self) -> Generator[None]: |
| 995 | """Temporarily disable capturing while inside the ``with`` block.""" |
| 996 | capmanager: CaptureManager = self.request.config.pluginmanager.getplugin( |
| 997 | "capturemanager" |
| 998 | ) |
| 999 | with capmanager.global_and_fixture_disabled(): |
| 1000 | yield |
| 1001 | |
| 1002 | |
| 1003 | # The fixtures. |
nothing calls this directly
no test coverage detected