mirror of https://github.com/python/cpython
Issue #25220: regrtest setups Python after parsing command line options
This commit is contained in:
parent
bd1a72c455
commit
37554525aa
|
@ -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...")
|
||||||
|
|
Loading…
Reference in New Issue