Begin capturing console output. Call :meth:`end_capture` to exit capture mode and return output.
(self)
| 864 | self._exit_buffer() |
| 865 | |
| 866 | def begin_capture(self) -> None: |
| 867 | """Begin capturing console output. Call :meth:`end_capture` to exit capture mode and return output.""" |
| 868 | self._enter_buffer() |
| 869 | |
| 870 | def end_capture(self) -> str: |
| 871 | """End capture mode and return captured string. |