You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This makes it look like the different values for num1 are also part of the reason why it failed, but the only reason it failed is that the num3 values are not within range. If you edit the num3 values to match, the test no longer fails.
The text was updated successfully, but these errors were encountered:
When using
.roughly()
, when a test (legitimately) fails, the error message is misleading. Here is an example:The issue isn't that the test fails. The issue is that the failure message looks like this:
This makes it look like the different values for
num1
are also part of the reason why it failed, but the only reason it failed is that thenum3
values are not within range. If you edit thenum3
values to match, the test no longer fails.The text was updated successfully, but these errors were encountered: