commit | 35b34bd3260516e2a6d9073d14e2424dd7f40b66 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Sat May 17 00:58:33 2003 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Sat May 17 00:58:33 2003 +0000 |
tree | a253ddb9fcd09db044a46ec60abfaac84609d2de | |
parent | 929f06c5709fe755d8fe519676c5642cfa50ade8 [diff] |
Provide a clue that the doctests have run.
diff --git a/Lib/test/test_support.py b/Lib/test/test_support.py index 57bca38..467187e 100644 --- a/Lib/test/test_support.py +++ b/Lib/test/test_support.py
@@ -285,6 +285,8 @@ f, t = doctest.testmod(module, verbose=verbosity) if f: raise TestFailed("%d of %d doctests failed" % (f, t)) - return f, t finally: sys.stdout = save_stdout + if verbose: + print 'Ran %d doctests with zero failures' % (t,) + return f, t