From 8a34d416ba9e107e07fca7d4a1692b4b6a54a3ef Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Wed, 30 Mar 2016 08:51:15 +0200 Subject: [PATCH] Issue #26295: Enhanc test_regrtest.test_tools_script_run_tests() Pass all regrtest options, not only --testdir. --- Lib/test/test_regrtest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_regrtest.py b/Lib/test/test_regrtest.py index b4083b8f2c8..213853f5b18 100644 --- a/Lib/test/test_regrtest.py +++ b/Lib/test/test_regrtest.py @@ -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):