Skip to content

Commit

Permalink
修改 travis 在 py3 时的语法错误
Browse files Browse the repository at this point in the history
  • Loading branch information
Gwill committed Nov 1, 2018
1 parent 59c99ca commit ad42d4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Promise.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def get(self, timeout=None):
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:
Expand Down

0 comments on commit ad42d4d

Please sign in to comment.