_handle_exception in testing.py ignores passed exception

This commit is contained in:
Serge S. Koval 2013-04-14 00:28:36 +03:00
parent 78d9cc6519
commit 7485f2a0cb
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ class AsyncTestCase(unittest.TestCase):
return IOLoop() return IOLoop()
def _handle_exception(self, typ, value, tb): def _handle_exception(self, typ, value, tb):
self.__failure = sys.exc_info() self.__failure = (typ, value, tb)
self.stop() self.stop()
return True return True