Skip to content

Commit 56c30e0

Browse files
Dhruvanshu-JoshiricardoV94
authored andcommitted
Solve test errors in new assert string representation
1 parent 90a6660 commit 56c30e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_raise_op.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def test_CheckAndRaise_str():
2424
check_and_raise = CheckAndRaise(CustomException, exc_msg)
2525
assert (
2626
str(check_and_raise)
27-
== f"CheckAndRaise{{{CustomException}(this is the exception)}}"
27+
== f"CheckAndRaise{{raises=CustomException, msg='{exc_msg}'}}"
2828
)
2929

3030

0 commit comments

Comments
 (0)