Closed
Description
assert_almost_equal
is no longer the recommended way of checking for two numbers that are close to one another due to the inconsistencies in how floating point numbers are handled. It is recommended to use one of assert_allclose
, assert_array_almost_equal_nulp
or assert_array_max_ulp
instead of this function for more consistent floating point comparisons.
This issue is to replace assert_almost_equal
with the appropriate check