Skip to content

Commit

Permalink
Solve test errors in new assert string representation
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhruvanshu-Joshi authored and ricardoV94 committed Jul 8, 2024
1 parent 90a6660 commit 56c30e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_raise_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def test_CheckAndRaise_str():
check_and_raise = CheckAndRaise(CustomException, exc_msg)
assert (
str(check_and_raise)
== f"CheckAndRaise{{{CustomException}(this is the exception)}}"
== f"CheckAndRaise{{raises=CustomException, msg='{exc_msg}'}}"
)


Expand Down

0 comments on commit 56c30e0

Please sign in to comment.