diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2012-05-18 16:33:07 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-05-18 16:33:07 (GMT) |
commit | ebdcd859e59ed16a79dea94291c0be3a87640a08 (patch) | |
tree | 4f91f5ec40375ba9bbdfacc2da79dd31bc440f89 /Lib/test/support.py | |
parent | 77c84f2defb0013e28d262be237142379a1407fe (diff) | |
download | cpython-ebdcd859e59ed16a79dea94291c0be3a87640a08.zip cpython-ebdcd859e59ed16a79dea94291c0be3a87640a08.tar.gz cpython-ebdcd859e59ed16a79dea94291c0be3a87640a08.tar.bz2 |
Move private function _args_from_interpreter_flags() to subprocess.py, so
that it can be imported when threads are disabled.
(followup to issue #12098)
Diffstat (limited to 'Lib/test/support.py')
-rw-r--r-- | Lib/test/support.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/support.py b/Lib/test/support.py index 5259e27..e43dbad 100644 --- a/Lib/test/support.py +++ b/Lib/test/support.py @@ -1596,8 +1596,7 @@ def strip_python_stderr(stderr): def args_from_interpreter_flags(): """Return a list of command-line arguments reproducing the current settings in sys.flags and sys.warnoptions.""" - from multiprocessing.util import _args_from_interpreter_flags - return _args_from_interpreter_flags() + return subprocess._args_from_interpreter_flags() #============================================================ # Support for assertions about logging. |