Temporarily disable capturing while inside the ``with`` block.
(self)
| 865 | |
| 866 | @contextlib.contextmanager |
| 867 | def disabled(self) -> Generator[None, None, None]: |
| 868 | """Temporarily disable capturing while inside the ``with`` block.""" |
| 869 | capmanager = self.request.config.pluginmanager.getplugin("capturemanager") |
| 870 | with capmanager.global_and_fixture_disabled(): |
| 871 | yield |
| 872 | |
| 873 | |
| 874 | # The fixtures. |
nothing calls this directly
no test coverage detected