summaryrefslogtreecommitdiff
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_support.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_support.py b/Lib/test/test_support.py
index b3076c1cfd..33de788180 100644
--- a/Lib/test/test_support.py
+++ b/Lib/test/test_support.py
@@ -1344,6 +1344,7 @@ def py3k_bytes(b):
def args_from_interpreter_flags():
"""Return a list of command-line arguments reproducing the current
settings in sys.flags."""
+ import subprocess
return subprocess._args_from_interpreter_flags()
def strip_python_stderr(stderr):