mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
Issue #25220: regrtest setups Python after parsing command line options
This commit is contained in:
parent
bd1a72c455
commit
37554525aa
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue