Replies: 2 comments 1 reply
-
in this assertion error its really hard to see what value is wrong
i made a branch that creates that exception error: |
Beta Was this translation helpful? Give feedback.
-
I think that for complex asserts like this one it would be good if the maybe something simple like
I'm still new to writing assertions this way, but I try to put anything that could be interesting in seeing why the assertion failed into one assert , to have one error message that shows me what went wrong and why, but maybe the solution is to stick to simpler asserts and use soft asserts. |
Beta Was this translation helpful? Give feedback.
-
Have an ugly diagramed assertion? Share it here and let's make it better!
Beta Was this translation helpful? Give feedback.
All reactions