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
In general, we should never check floating point values for equality. Especially the last six digits look insignificant where the 1 is most likely an artifact of the imperfect floating point representation. Maybe pytest.approx would be a better fit here?
The text was updated successfully, but these errors were encountered:
unlockNN/tests/test_download.py
Lines 22 to 23 in 128b192
In general, we should never check floating point values for equality. Especially the last six digits look insignificant where the
1
is most likely an artifact of the imperfect floating point representation. Maybepytest.approx
would be a better fit here?The text was updated successfully, but these errors were encountered: