mirror of https://github.com/python/cpython
Include module name in doctest summary.
This commit is contained in:
parent
627728acbc
commit
1ba24b4fbb
|
@ -288,5 +288,5 @@ def run_doctest(module, verbosity=None):
|
|||
finally:
|
||||
sys.stdout = save_stdout
|
||||
if verbose:
|
||||
print 'Ran %d doctests with zero failures' % (t,)
|
||||
print 'doctest (%s) ... %d tests with zero failures' % (module.__name__, t)
|
||||
return f, t
|
||||
|
|
Loading…
Reference in New Issue