diff options
Diffstat (limited to 'Lib')
| -rw-r--r-- | Lib/test/libregrtest/main.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/test/libregrtest/main.py b/Lib/test/libregrtest/main.py index 78b6790..2b6607d 100644 --- a/Lib/test/libregrtest/main.py +++ b/Lib/test/libregrtest/main.py @@ -215,8 +215,9 @@ class Regrtest: removepy(self.tests) - # add default PGO tests if no tests are specified - setup_pgo_tests(self.ns) + if self.ns.pgo: + # add default PGO tests if no tests are specified + setup_pgo_tests(self.ns) stdtests = STDTESTS[:] nottests = NOTTESTS.copy() |
