(self, e)
| 3120 | # |
| 3121 | |
| 3122 | def get_report(self, e): |
| 3123 | e = self.get_exception(e) |
| 3124 | s = ''.join( |
| 3125 | traceback.format_exception(type(e), e, e.__traceback__)) |
| 3126 | with captured_output("stderr") as sio: |
| 3127 | traceback.print_exception(type(e), e, e.__traceback__) |
| 3128 | self.assertEqual(sio.getvalue(), s) |
| 3129 | return s |
| 3130 | |
| 3131 | |
| 3132 | @force_not_colorized_test_class |
nothing calls this directly
no test coverage detected