summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-03-18 16:58:44 (GMT)
committerGuido van Rossum <guido@python.org>2001-03-18 16:58:44 (GMT)
commitaf00a46599e2891c26026ec4bc6ada892f1b810f (patch)
treee0c0ff0857fadf8af88405d4e66be9660468b716
parent1bb515b0e548d0ff39fffe3326c5a08f46cd7d55 (diff)
downloadcpython-af00a46599e2891c26026ec4bc6ada892f1b810f.zip
cpython-af00a46599e2891c26026ec4bc6ada892f1b810f.tar.gz
cpython-af00a46599e2891c26026ec4bc6ada892f1b810f.tar.bz2
Print a bunch of asterisks before the failure summary, to separate it
from the last failure report.
-rw-r--r--Lib/doctest.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/doctest.py b/Lib/doctest.py
index 9c0ecc8..c1130f7 100644
--- a/Lib/doctest.py
+++ b/Lib/doctest.py
@@ -885,6 +885,7 @@ see its docs for details.
for thing, count in passed:
print " %3d tests in %s" % (count, thing)
if failed:
+ print "*" * 65
print len(failed), "items had failures:"
failed.sort()
for thing, (f, t) in failed: