summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_re.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_re.py')
-rw-r--r--Lib/test/test_re.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_re.py b/Lib/test/test_re.py
index c4b21cf..48ba503 100644
--- a/Lib/test/test_re.py
+++ b/Lib/test/test_re.py
@@ -122,6 +122,9 @@ except AssertionError:
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()