mirror of
https://github.com/python/cpython.git
synced 2025-09-25 01:43:11 +00:00
Issue #12098 : Fix a missing import in the unittests.
This commit is contained in:
parent
11f989320e
commit
acb6e85808
1 changed files with 1 additions and 0 deletions
|
@ -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):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue