diff --git a/Lib/test/test_re.py b/Lib/test/test_re.py index c4b21cf72aa..48ba5032664 100644 --- a/Lib/test/test_re.py +++ b/Lib/test/test_re.py @@ -122,6 +122,9 @@ def bump_num(matchobj): from re_tests import * if verbose: print 'Running re_tests test suite' +else: + # To save time, only run the first and last 10 tests + tests = tests[:10] + tests[-10:] for t in tests: sys.stdout.flush()