(self)
| 662 | self._global_capturing.start_capturing() |
| 663 | |
| 664 | def stop_global_capturing(self) -> None: |
| 665 | if self._global_capturing is not None: |
| 666 | self._global_capturing.pop_outerr_to_orig() |
| 667 | self._global_capturing.stop_capturing() |
| 668 | self._global_capturing = None |
| 669 | |
| 670 | def resume_global_capture(self) -> None: |
| 671 | # During teardown of the python process, and on rare occasions, capture |