summaryrefslogtreecommitdiff
path: root/Lib/test/libregrtest/win_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/libregrtest/win_utils.py')
-rw-r--r--Lib/test/libregrtest/win_utils.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/Lib/test/libregrtest/win_utils.py b/Lib/test/libregrtest/win_utils.py
index 028c01106d..a1cc220114 100644
--- a/Lib/test/libregrtest/win_utils.py
+++ b/Lib/test/libregrtest/win_utils.py
@@ -5,7 +5,7 @@ import os
import subprocess
import uuid
import winreg
-from test import support
+from test.support import os_helper
from test.libregrtest.utils import print_warning
@@ -69,7 +69,9 @@ class WindowsLoadTracker():
# Spawn off the load monitor
counter_name = self._get_counter_name()
command = ['typeperf', counter_name, '-si', str(SAMPLING_INTERVAL)]
- self._popen = subprocess.Popen(' '.join(command), stdout=command_stdout, cwd=support.SAVEDCWD)
+ self._popen = subprocess.Popen(' '.join(command),
+ stdout=command_stdout,
+ cwd=os_helper.SAVEDCWD)
# Close our copy of the write end of the pipe
os.close(command_stdout)