In [18]: xmode plain Exception reporting mode: Plain In [19]: run simpleerr.py Traceback (most recent call last): ...line 32, in bar(mode) ...line 16, in bar div0() ...line 8, in div0 x/y ZeroDivisionError: ...
()
| 39 | # and %tb functionality. This is really a mix of testing ultraTB and interactiveshell. |
| 40 | |
| 41 | def doctest_tb_plain(): |
| 42 | """ |
| 43 | In [18]: xmode plain |
| 44 | Exception reporting mode: Plain |
| 45 | |
| 46 | In [19]: run simpleerr.py |
| 47 | Traceback (most recent call last): |
| 48 | ...line 32, in <module> |
| 49 | bar(mode) |
| 50 | ...line 16, in bar |
| 51 | div0() |
| 52 | ...line 8, in div0 |
| 53 | x/y |
| 54 | ZeroDivisionError: ... |
| 55 | """ |
| 56 | |
| 57 | |
| 58 | def doctest_tb_context(): |
nothing calls this directly
no outgoing calls
no test coverage detected