summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristján Valur Jónsson <sweskman@gmail.com>2013-03-20 00:30:30 (GMT)
committerKristján Valur Jónsson <sweskman@gmail.com>2013-03-20 00:30:30 (GMT)
commitacb6e85808ec2a4522c1e7cf665c85c02edf16ab (patch)
treea3df5da1fd5ca8a15bc85dbfed2a35a91ea5900f
parent11f989320e1085a2fa30cefccbd7da40d8ef650e (diff)
downloadcpython-acb6e85808ec2a4522c1e7cf665c85c02edf16ab.zip
cpython-acb6e85808ec2a4522c1e7cf665c85c02edf16ab.tar.gz
cpython-acb6e85808ec2a4522c1e7cf665c85c02edf16ab.tar.bz2
Issue #12098 : Fix a missing import in the unittests.
-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 b3076c1..33de788 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):