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