(self)
| 65 | raise |
| 66 | |
| 67 | def _wait(self): |
| 68 | # avoids raise-within-try (TRY301) |
| 69 | if self.proc.wait(self.timeout): |
| 70 | # non-zero exit code |
| 71 | msg = make_process_error_msg(self.proc, None, None) |
| 72 | raise SessionError(msg) |
| 73 | |
| 74 | |
| 75 | @contextlib.contextmanager |
no test coverage detected