(
self, typ: Type[Exception], value: Exception, tb: TracebackType
)
| 222 | return IOLoop(make_current=False) |
| 223 | |
| 224 | def _handle_exception( |
| 225 | self, typ: Type[Exception], value: Exception, tb: TracebackType |
| 226 | ) -> bool: |
| 227 | if self.__failure is None: |
| 228 | self.__failure = (typ, value, tb) |
| 229 | else: |
| 230 | app_log.error( |
| 231 | "multiple unhandled exceptions in test", exc_info=(typ, value, tb) |
| 232 | ) |
| 233 | self.stop() |
| 234 | return True |
| 235 | |
| 236 | def __rethrow(self) -> None: |
| 237 | if self.__failure is not None: |