(self, test_name: TestName, json_file: JsonFile)
| 267 | return (json_file, json_tmpfile) |
| 268 | |
| 269 | def create_worker_runtests(self, test_name: TestName, json_file: JsonFile) -> WorkerRunTests: |
| 270 | tests = (test_name,) |
| 271 | if self.runtests.rerun: |
| 272 | match_tests = self.runtests.get_match_tests(test_name) |
| 273 | else: |
| 274 | match_tests = None |
| 275 | |
| 276 | kwargs: dict[str, Any] = {} |
| 277 | if match_tests: |
| 278 | kwargs['match_tests'] = [(test, True) for test in match_tests] |
| 279 | if self.runtests.output_on_failure: |
| 280 | kwargs['verbose'] = True |
| 281 | kwargs['output_on_failure'] = False |
| 282 | return self.runtests.create_worker_runtests( |
| 283 | tests=tests, |
| 284 | json_file=json_file, |
| 285 | **kwargs) |
| 286 | |
| 287 | def run_tmp_files(self, worker_runtests: WorkerRunTests, |
| 288 | stdout_fd: int) -> tuple[int | None, list[StrPath]]: |
no test coverage detected