From 473a68a53028f8a24b88bb9fc08b38dc3b69800e Mon Sep 17 00:00:00 2001 From: Harshal Prakash Patankar Date: Wed, 19 Feb 2020 21:59:28 -0500 Subject: DOC: Reword docstring for assert_equal (gh-15614) --- numpy/testing/_private/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/testing/_private/utils.py') diff --git a/numpy/testing/_private/utils.py b/numpy/testing/_private/utils.py index bf0892a29..2842eb147 100644 --- a/numpy/testing/_private/utils.py +++ b/numpy/testing/_private/utils.py @@ -284,7 +284,7 @@ def assert_equal(actual, desired, err_msg='', verbose=True): the scalar. This function handles NaN comparisons as if NaN was a "normal" number. - That is, no assertion is raised if both objects have NaNs in the same + That is, AssertionError is not raised if both objects have NaNs in the same positions. This is in contrast to the IEEE standard on NaNs, which says that NaN compared to anything must return False. -- cgit v1.2.1