[Python-checkins] cpython: Issue #25220: regrtest setups Python after parsing command line options
victor.stinner
python-checkins at python.org
Tue Sep 29 23:37:49 CEST 2015
https://hg.python.org/cpython/rev/45c43b9d50c5
changeset: 98418:45c43b9d50c5
user: Victor Stinner <victor.stinner at gmail.com>
date: Tue Sep 29 23:37:14 2015 +0200
summary:
Issue #25220: regrtest setups Python after parsing command line options
files:
Lib/test/libregrtest/main.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/test/libregrtest/main.py b/Lib/test/libregrtest/main.py
--- a/Lib/test/libregrtest/main.py
+++ b/Lib/test/libregrtest/main.py
@@ -431,8 +431,8 @@
os.system("leaks %d" % os.getpid())
def main(self, tests=None, **kwargs):
+ self.ns = _parse_args(sys.argv[1:], **kwargs)
setup_python()
- self.ns = _parse_args(sys.argv[1:], **kwargs)
self.setup_regrtest()
if self.ns.wait:
input("Press any key to continue...")
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list