(self, mp_result: MultiprocessResult)
| 554 | return None |
| 555 | |
| 556 | def display_result(self, mp_result: MultiprocessResult) -> None: |
| 557 | result = mp_result.result |
| 558 | pgo = self.runtests.pgo |
| 559 | |
| 560 | text = str(result) |
| 561 | if mp_result.err_msg: |
| 562 | # WORKER_BUG |
| 563 | text += ' (%s)' % mp_result.err_msg |
| 564 | elif (result.duration and result.duration >= PROGRESS_MIN_TIME and not pgo): |
| 565 | text += ' (%s)' % format_duration(result.duration) |
| 566 | if not pgo: |
| 567 | running = get_running(self.workers) |
| 568 | if running: |
| 569 | text += f' -- {running}' |
| 570 | self.display_progress(self.test_index, text) |
| 571 | |
| 572 | def _process_result(self, item: QueueOutput) -> TestResult: |
| 573 | """Returns True if test runner must stop.""" |
no test coverage detected