Print the traceback purely on stdout for doctest to capture it.
(self, etype, evalue, stb)
| 64 | |
| 65 | |
| 66 | def _showtraceback(self, etype, evalue, stb): |
| 67 | """Print the traceback purely on stdout for doctest to capture it. |
| 68 | """ |
| 69 | print(self.InteractiveTB.stb2text(stb), file=sys.stdout) |
| 70 | |
| 71 | |
| 72 | def start_ipython(): |