diff options
author | Pamphile ROY <roy.pamphile@gmail.com> | 2021-04-15 12:00:22 +0200 |
---|---|---|
committer | Pamphile ROY <roy.pamphile@gmail.com> | 2021-04-15 12:00:22 +0200 |
commit | f47f64e319faca16519fb2a229b4ebb5c0271850 (patch) | |
tree | 516512cccde3f1033dbb599f6f06052c8f3f8179 /doc | |
parent | 64bb06f002f2085c172c2f7dc621289d3cd54cbe (diff) | |
download | numpy-f47f64e319faca16519fb2a229b4ebb5c0271850.tar.gz |
DOC: not recommended section
Diffstat (limited to 'doc')
-rw-r--r-- | doc/source/reference/routines.testing.rst | 7 |
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 |