(self, in_: bool = False)
| 666 | return out, err |
| 667 | |
| 668 | def suspend_capturing(self, in_: bool = False) -> None: |
| 669 | self._state = "suspended" |
| 670 | if self.out: |
| 671 | self.out.suspend() |
| 672 | if self.err: |
| 673 | self.err.suspend() |
| 674 | if in_ and self.in_: |
| 675 | self.in_.suspend() |
| 676 | self._in_suspended = True |
| 677 | |
| 678 | def resume_capturing(self) -> None: |
| 679 | self._state = "started" |
no test coverage detected