[Python-checkins] r45371 - python/trunk/Lib/test/regrtest.py (original) (raw)

tim.peters python-checkins at python.org
Fri Apr 14 01:12:24 CEST 2006


Author: tim.peters Date: Fri Apr 14 01:12:24 2006 New Revision: 45371

Modified: python/trunk/Lib/test/regrtest.py Log: When using -R, lots of "*** DocTestRunner.merge:" nuisance messages appear. Get rid of them by nuking doctest's default DocTestRunner instance as part of cleanup(). Also cleanup() before running the first test repetition (the test was run once before we get into the -R branch).

Modified: python/trunk/Lib/test/regrtest.py

--- python/trunk/Lib/test/regrtest.py (original) +++ python/trunk/Lib/test/regrtest.py Fri Apr 14 01:12:24 2006 @@ -520,7 +520,7 @@ import gc def cleanup(): import _strptime, linecache, warnings, dircache

@@ -537,6 +537,7 @@ dircache.reset() linecache.clearcache() mimetypes._default_mime_types()

@@ -548,6 +549,7 @@ print >> sys.stderr, "beginning", repcount, "repetitions" print >> sys.stderr,
("1234567890"*(repcount//10 + 1))[:repcount]



More information about the Python-checkins mailing list