DOC: assert_allclose
instead of xp_assert_close
is recommended in Developer Guide #21717
Open
Description
In the "Test functions from numpy.testing
" section of the Code and Documentation Style Guide the following quote can be found:
It is recommended to use one of
assert_allclose
,
assert_array_almost_equal_nulp
orassert_array_max_ulp
instead of this function for more consistent floating point
comparisons.
For supporting the array API standard, wouldn't it preferable to recommend xp_assert_close
and friends?
The context is this helpful review comment from @j-bowhay.