Report that the given example raised an unexpected exception.
(self, out, test, example, exc_info)
| 1337 | self._checker.output_difference(example, got, self.optionflags)) |
| 1338 | |
| 1339 | def report_unexpected_exception(self, out, test, example, exc_info): |
| 1340 | """ |
| 1341 | Report that the given example raised an unexpected exception. |
| 1342 | """ |
| 1343 | out(self._failure_header(test, example) + |
| 1344 | 'Exception raised:\n' + _indent(_exception_traceback(exc_info))) |
| 1345 | |
| 1346 | def _failure_header(self, test, example): |
| 1347 | red, reset = ( |
no test coverage detected