From: Victor Stinner Date: Tue, 29 Sep 2015 21:37:14 +0000 (+0200) Subject: Issue #25220: regrtest setups Python after parsing command line options X-Git-Tag: v3.6.0a1~1386 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=37554525aab167c88e61cac0d78dfdefc31fdee9;p=python Issue #25220: regrtest setups Python after parsing command line options --- diff --git a/Lib/test/libregrtest/main.py b/Lib/test/libregrtest/main.py index 41c32d63c4..2716536c4f 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...")