(self)
| 171 | print_warning(f"Failed to kill {what}: {exc!r}") |
| 172 | |
| 173 | def stop(self) -> None: |
| 174 | # Method called from a different thread to stop this thread |
| 175 | self._stopped = True |
| 176 | self._kill() |
| 177 | |
| 178 | def _run_process(self, runtests: WorkerRunTests, output_fd: int, |
| 179 | tmp_dir: StrPath | None = None) -> int | None: |