修改 travis 在 py3 时的语法错误

This commit is contained in:
G_will 2018-11-01 14:01:36 +08:00
parent 59c99caf18
commit ad42d4ddac

View File

@ -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: