From ad42d4ddac5c260b878b650737d4aa4fa55a797d Mon Sep 17 00:00:00 2001 From: G_will Date: Thu, 1 Nov 2018 14:01:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20travis=20=E5=9C=A8=20py3?= =?UTF-8?q?=20=E6=97=B6=E7=9A=84=E8=AF=AD=E6=B3=95=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/Promise.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Promise.py b/tests/Promise.py index 2e37d7f0..cae5cc57 100644 --- a/tests/Promise.py +++ b/tests/Promise.py @@ -30,7 +30,7 @@ class Promise(object): raise res[1] else: et, ev, tb = res[1] - raise et, ev, tb + raise et(ev).with_traceback(tb) def set_exception(self, valueOrType, val=None, tb=None): if val is None: