From: Guido van Rossum Date: Thu, 4 Sep 1997 14:35:45 +0000 (+0000) Subject: The re test suite is very slow on slower hosts. X-Git-Tag: v1.5a4~238 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d807b7589b6dc26057e9754358335183ce9f7a7a;p=python 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 c4b21cf72a..48ba503266 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()