MCPcopy Index your code
hub / github.com/python/cpython / start_load_tracker

Method start_load_tracker

Lib/test/libregrtest/logger.py:74–83  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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:

Callers 1

_run_testsMethod · 0.80

Calls 2

WindowsLoadTrackerClass · 0.85
print_warningFunction · 0.70

Tested by

no test coverage detected