diff options
author | Guido van Rossum <guido@python.org> | 2006-08-26 20:37:44 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2006-08-26 20:37:44 (GMT) |
commit | 6a2a2a08329567ea41f4f073cb43e487f83872c7 (patch) | |
tree | 63fffe60ff821be1660fe50ae7b5a06fac5936e8 /Lib/test/test_doctest.py | |
parent | 59baa759e4cc4ab66f240f35e3cb7edfb4375952 (diff) | |
download | cpython-6a2a2a08329567ea41f4f073cb43e487f83872c7.zip cpython-6a2a2a08329567ea41f4f073cb43e487f83872c7.tar.gz cpython-6a2a2a08329567ea41f4f073cb43e487f83872c7.tar.bz2 |
Inspired by SF patch #860326, make the exception formatting by
traceback.py be closer to the built-in formatting.
A few unittests had to be fixed, too.
Diffstat (limited to 'Lib/test/test_doctest.py')
-rw-r--r-- | Lib/test/test_doctest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_doctest.py b/Lib/test/test_doctest.py index 12d75dd..1390e15 100644 --- a/Lib/test/test_doctest.py +++ b/Lib/test/test_doctest.py @@ -2234,7 +2234,7 @@ debugging): >>> doctest.testfile('test_doctest.txt', raise_on_error=True) ... # doctest: +ELLIPSIS Traceback (most recent call last): - UnexpectedException: ... + doctest.UnexpectedException: ... >>> doctest.master = None # Reset master. If the tests contain non-ASCII characters, the tests might fail, since |