Include module name in doctest summary.

This commit is contained in:
Raymond Hettinger 2003-05-17 01:59:57 +00:00
parent 627728acbc
commit 1ba24b4fbb
1 changed files with 1 additions and 1 deletions

View File

@ -288,5 +288,5 @@ def run_doctest(module, verbosity=None):
finally: finally:
sys.stdout = save_stdout sys.stdout = save_stdout
if verbose: if verbose:
print 'Ran %d doctests with zero failures' % (t,) print 'doctest (%s) ... %d tests with zero failures' % (module.__name__, t)
return f, t return f, t