mirror of https://github.com/python/cpython
Issue #26295: Enhanc test_regrtest.test_tools_script_run_tests()
Pass all regrtest options, not only --testdir.
This commit is contained in:
parent
732599f793
commit
8a34d416ba
|
@ -514,7 +514,7 @@ class ProgramsTestCase(BaseTestCase):
|
|||
def test_tools_script_run_tests(self):
|
||||
# Tools/scripts/run_tests.py
|
||||
script = os.path.join(ROOT_DIR, 'Tools', 'scripts', 'run_tests.py')
|
||||
args = [script, '--testdir=%s' % self.tmptestdir, *self.tests]
|
||||
args = [script, *self.regrtest_args, *self.tests]
|
||||
self.run_tests(args)
|
||||
|
||||
def run_batch(self, *args):
|
||||
|
|
Loading…
Reference in New Issue