We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90a6660 commit 56c30e0Copy full SHA for 56c30e0
tests/test_raise_op.py
@@ -24,7 +24,7 @@ def test_CheckAndRaise_str():
24
check_and_raise = CheckAndRaise(CustomException, exc_msg)
25
assert (
26
str(check_and_raise)
27
- == f"CheckAndRaise{{{CustomException}(this is the exception)}}"
+ == f"CheckAndRaise{{raises=CustomException, msg='{exc_msg}'}}"
28
)
29
30
0 commit comments