summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPamphile ROY <roy.pamphile@gmail.com>2021-04-15 12:00:22 +0200
committerPamphile ROY <roy.pamphile@gmail.com>2021-04-15 12:00:22 +0200
commitf47f64e319faca16519fb2a229b4ebb5c0271850 (patch)
tree516512cccde3f1033dbb599f6f06052c8f3f8179 /doc
parent64bb06f002f2085c172c2f7dc621289d3cd54cbe (diff)
downloadnumpy-f47f64e319faca16519fb2a229b4ebb5c0271850.tar.gz
DOC: not recommended section
Diffstat (limited to 'doc')
-rw-r--r--doc/source/reference/routines.testing.rst7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/source/reference/routines.testing.rst b/doc/source/reference/routines.testing.rst
index 7bd499fdf..40b385cb6 100644
--- a/doc/source/reference/routines.testing.rst
+++ b/doc/source/reference/routines.testing.rst
@@ -29,9 +29,14 @@ Asserts
assert_warns
assert_string_equal
+Asserts (not recommanded)
+-------------------------
+It is recommended to use one of `assert_allclose`,
+`assert_array_almost_equal_nulp` or `assert_array_max_ulp` instead of these
+functions for more consistent floating point comparisons.
+
.. autosummary::
:toctree: generated/
- :hidden:
assert_almost_equal
assert_approx_equal