Issue #12098 : Fix a missing import in the unittests.

parent 11f98932
...@@ -1344,6 +1344,7 @@ def py3k_bytes(b): ...@@ -1344,6 +1344,7 @@ def py3k_bytes(b):
def args_from_interpreter_flags(): def args_from_interpreter_flags():
"""Return a list of command-line arguments reproducing the current """Return a list of command-line arguments reproducing the current
settings in sys.flags.""" settings in sys.flags."""
import subprocess
return subprocess._args_from_interpreter_flags() return subprocess._args_from_interpreter_flags()
def strip_python_stderr(stderr): def strip_python_stderr(stderr):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment