mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Issue #1066: implement PEP 3109, 2/3 of PEP 3134.
This commit is contained in:
parent
150b7d7d02
commit
828f04ac3f
32 changed files with 761 additions and 253 deletions
|
|
@ -1608,7 +1608,7 @@ class DebugRunner(DocTestRunner):
|
|||
'42\n'
|
||||
|
||||
>>> exc_info = failure.exc_info
|
||||
>>> raise exc_info[0], exc_info[1], exc_info[2]
|
||||
>>> raise exc_info[1] # Already has the traceback
|
||||
Traceback (most recent call last):
|
||||
...
|
||||
KeyError
|
||||
|
|
@ -2146,7 +2146,7 @@ class DocTestCase(unittest.TestCase):
|
|||
'42\n'
|
||||
|
||||
>>> exc_info = failure.exc_info
|
||||
>>> raise exc_info[0], exc_info[1], exc_info[2]
|
||||
>>> raise exc_info[1] # Already has the traceback
|
||||
Traceback (most recent call last):
|
||||
...
|
||||
KeyError
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue