(self)
| 774 | self._global_capturing.start_capturing() |
| 775 | |
| 776 | def stop_global_capturing(self) -> None: |
| 777 | if self._global_capturing is not None: |
| 778 | self._global_capturing.pop_outerr_to_orig() |
| 779 | self._global_capturing.stop_capturing() |
| 780 | self._global_capturing = None |
| 781 | |
| 782 | def resume_global_capture(self) -> None: |
| 783 | # During teardown of the python process, and on rare occasions, capture |