(self)
| 205 | return resp, dt |
| 206 | |
| 207 | def close(self) -> None: |
| 208 | try: |
| 209 | if self.proc.stdin is not None: |
| 210 | self.proc.stdin.close() |
| 211 | self.proc.wait(timeout=3) |
| 212 | except Exception: |
| 213 | self.proc.kill() |
| 214 | try: |
| 215 | self.stderr_file.close() |
| 216 | except Exception: |
| 217 | pass |
| 218 | |
| 219 | |
| 220 | # ---------------------------------------------------------------------------- helpers |
no outgoing calls
no test coverage detected