From 7485f2a0cb7b378159a509c11224d04a942565b6 Mon Sep 17 00:00:00 2001 From: "Serge S. Koval" Date: Sun, 14 Apr 2013 00:28:36 +0300 Subject: [PATCH] _handle_exception in testing.py ignores passed exception --- tornado/testing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tornado/testing.py b/tornado/testing.py index 61c84306..5d8f6342 100644 --- a/tornado/testing.py +++ b/tornado/testing.py @@ -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