(self, in_: bool = False)
| 557 | return out, err |
| 558 | |
| 559 | def suspend_capturing(self, in_: bool = False) -> None: |
| 560 | self._state = "suspended" |
| 561 | if self.out: |
| 562 | self.out.suspend() |
| 563 | if self.err: |
| 564 | self.err.suspend() |
| 565 | if in_ and self.in_: |
| 566 | self.in_.suspend() |
| 567 | self._in_suspended = True |
| 568 | |
| 569 | def resume_capturing(self) -> None: |
| 570 | self._state = "started" |
no test coverage detected