mirror of
https://github.com/python/cpython.git
synced 2025-10-10 00:43:41 +00:00
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.
This commit is contained in:
parent
59baa759e4
commit
6a2a2a0832
6 changed files with 13 additions and 8 deletions
|
@ -107,7 +107,7 @@ error)
|
|||
>>> a, b, c, d, e = BadSeq()
|
||||
Traceback (most recent call last):
|
||||
...
|
||||
BozoError
|
||||
test.test_unpack.BozoError
|
||||
|
||||
Trigger code while expecting an IndexError (unpack sequence too short, wrong
|
||||
error)
|
||||
|
@ -115,7 +115,7 @@ error)
|
|||
>>> a, b, c = BadSeq()
|
||||
Traceback (most recent call last):
|
||||
...
|
||||
BozoError
|
||||
test.test_unpack.BozoError
|
||||
|
||||
"""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue