Skip to content

Commit

Permalink
fix event test
Browse files Browse the repository at this point in the history
  • Loading branch information
tlambert03 committed Apr 4, 2021
1 parent e2d2cb9 commit 699fb19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ def cb(ev):
try:
em()
except RuntimeError as err:
if str(err) != "Event source-stack mismatch.":
if "Event source-stack mismatch." not in str(err):
raise

em.disconnect()
Expand Down

0 comments on commit 699fb19

Please sign in to comment.