diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-09-29 21:37:14 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-09-29 21:37:14 (GMT) |
commit | 37554525aab167c88e61cac0d78dfdefc31fdee9 (patch) | |
tree | a4329f74ea8ecaaa74496fb187d723863b00ddd4 /Lib | |
parent | bd1a72c455a18e73e59c502cb28cb0d0667e1087 (diff) | |
download | cpython-37554525aab167c88e61cac0d78dfdefc31fdee9.zip cpython-37554525aab167c88e61cac0d78dfdefc31fdee9.tar.gz cpython-37554525aab167c88e61cac0d78dfdefc31fdee9.tar.bz2 |
Issue #25220: regrtest setups Python after parsing command line options
Diffstat (limited to 'Lib')
-rw-r--r-- | 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 index 41c32d6..2716536 100644 --- a/Lib/test/libregrtest/main.py +++ b/Lib/test/libregrtest/main.py @@ -431,8 +431,8 @@ class Regrtest: os.system("leaks %d" % os.getpid()) def main(self, tests=None, **kwargs): - setup_python() self.ns = _parse_args(sys.argv[1:], **kwargs) + setup_python() self.setup_regrtest() if self.ns.wait: input("Press any key to continue...") |