From: Serge S. Koval Date: Sat, 13 Apr 2013 21:28:36 +0000 (+0300) Subject: _handle_exception in testing.py ignores passed exception X-Git-Tag: v3.1.0~121^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F727%2Fhead;p=thirdparty%2Ftornado.git _handle_exception in testing.py ignores passed exception --- diff --git a/tornado/testing.py b/tornado/testing.py index 61c843061..5d8f6342e 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