(
self, typ: Type[Exception], value: Exception, tb: TracebackType
)
| 302 | return IOLoop(make_current=False) |
| 303 | |
| 304 | def _handle_exception( |
| 305 | self, typ: Type[Exception], value: Exception, tb: TracebackType |
| 306 | ) -> bool: |
| 307 | if self.__failure is None: |
| 308 | self.__failure = (typ, value, tb) |
| 309 | else: |
| 310 | app_log.error( |
| 311 | "multiple unhandled exceptions in test", exc_info=(typ, value, tb) |
| 312 | ) |
| 313 | self.stop() |
| 314 | return True |
| 315 | |
| 316 | def __rethrow(self) -> None: |
| 317 | if self.__failure is not None: |