(self)
| 72 | self.test_count_width = len(self.test_count_text) - 1 |
| 73 | |
| 74 | def start_load_tracker(self) -> None: |
| 75 | if not MS_WINDOWS: |
| 76 | return |
| 77 | |
| 78 | try: |
| 79 | self.win_load_tracker = WindowsLoadTracker() |
| 80 | except PermissionError as error: |
| 81 | # Standard accounts may not have access to the performance |
| 82 | # counters. |
| 83 | print_warning(f'Failed to create WindowsLoadTracker: {error}') |
| 84 | |
| 85 | def stop_load_tracker(self) -> None: |
| 86 | if self.win_load_tracker is None: |
no test coverage detected