Skip to content

Commit

Permalink
Merge pull request #17 from arthurzam/main
Browse files Browse the repository at this point in the history
Fix expected error message for python 3.10
  • Loading branch information
jaraco committed Feb 23, 2022
2 parents 4317993 + 355b179 commit 740e940
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cssutils/tests/basetest.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def assertRaisesMsg(self, excClass, msg, callableObj, *args, **kwargs):
if not msg:
# No message provided: any message is fine.
return
elif excMsg == msg:
elif msg in excMsg:
# Message provided, and we got the right message: passes.
return
else:
Expand Down

0 comments on commit 740e940

Please sign in to comment.