Report that the given example raised an unexpected exception.
(self, out, test, example, exc_info)
| 1312 | self._checker.output_difference(example, got, self.optionflags)) |
| 1313 | |
| 1314 | def report_unexpected_exception(self, out, test, example, exc_info): |
| 1315 | """ |
| 1316 | Report that the given example raised an unexpected exception. |
| 1317 | """ |
| 1318 | out(self._failure_header(test, example) + |
| 1319 | 'Exception raised:\n' + _indent(_exception_traceback(exc_info))) |
| 1320 | |
| 1321 | def _failure_header(self, test, example): |
| 1322 | red, reset = ( |
no test coverage detected