commit | d807b7589b6dc26057e9754358335183ce9f7a7a | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Sep 04 14:35:45 1997 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Sep 04 14:35:45 1997 +0000 |
tree | b940ec2c4f28ea72993e2a9994a6154d0077f08f | |
parent | c7736b9d49b56bf9376fcccfb852357a362fb782 [diff] |
The re test suite is very slow on slower hosts. To save time, only run the first and last 10 tests except in verbose mode.
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 @@ 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()