Issue #25220: regrtest setups Python after parsing command line options

This commit is contained in:
Victor Stinner 2015-09-29 23:37:14 +02:00
parent bd1a72c455
commit 37554525aa
1 changed files with 1 additions and 1 deletions

View File

@ -431,8 +431,8 @@ class Regrtest:
os.system("leaks %d" % os.getpid()) os.system("leaks %d" % os.getpid())
def main(self, tests=None, **kwargs): def main(self, tests=None, **kwargs):
setup_python()
self.ns = _parse_args(sys.argv[1:], **kwargs) self.ns = _parse_args(sys.argv[1:], **kwargs)
setup_python()
self.setup_regrtest() self.setup_regrtest()
if self.ns.wait: if self.ns.wait:
input("Press any key to continue...") input("Press any key to continue...")