Context manager catching threading.Thread exception using threading.excepthook().
test.support.threading_helper/catch_threading_exception
catch_threading_exception