Deactivate the ``capsys`` or ``capfd`` fixture of this item, if any.
(self)
| 823 | self._capture_fixture._start() |
| 824 | |
| 825 | def deactivate_fixture(self) -> None: |
| 826 | """Deactivate the ``capsys`` or ``capfd`` fixture of this item, if any.""" |
| 827 | if self._capture_fixture: |
| 828 | self._capture_fixture.close() |
| 829 | |
| 830 | def suspend_fixture(self) -> None: |
| 831 | if self._capture_fixture: |