]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
_handle_exception in testing.py ignores passed exception 727/head
authorSerge S. Koval <serge.koval+github@gmail.com>
Sat, 13 Apr 2013 21:28:36 +0000 (00:28 +0300)
committerSerge S. Koval <serge.koval+github@gmail.com>
Sat, 13 Apr 2013 21:28:36 +0000 (00:28 +0300)
tornado/testing.py

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