MCPcopy Create free account
hub / github.com/EasyIME/PIME / _handle_exception

Method _handle_exception

python/python3/tornado/testing.py:304–314  ·  view source on GitHub ↗
(
        self, typ: Type[Exception], value: Exception, tb: TracebackType
    )

Source from the content-addressed store, hash-verified

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:

Callers

nothing calls this directly

Calls 2

stopMethod · 0.95
errorMethod · 0.80

Tested by

no test coverage detected