diff options
author | Guido van Rossum <guido@python.org> | 1997-09-04 14:35:45 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-09-04 14:35:45 (GMT) |
commit | d807b7589b6dc26057e9754358335183ce9f7a7a (patch) | |
tree | b940ec2c4f28ea72993e2a9994a6154d0077f08f /Lib | |
parent | c7736b9d49b56bf9376fcccfb852357a362fb782 (diff) | |
download | cpython-d807b7589b6dc26057e9754358335183ce9f7a7a.zip cpython-d807b7589b6dc26057e9754358335183ce9f7a7a.tar.gz cpython-d807b7589b6dc26057e9754358335183ce9f7a7a.tar.bz2 |
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.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_re.py | 3 |
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() |