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: