summaryrefslogtreecommitdiff
path: root/numpy/testing/_private/utils.py
diff options
context:
space:
mode:
authorHarshal Prakash Patankar <pharshalp@gmail.com>2020-02-19 21:59:28 -0500
committerGitHub <noreply@github.com>2020-02-19 18:59:28 -0800
commit473a68a53028f8a24b88bb9fc08b38dc3b69800e (patch)
treeedceebffa676740d543325d894b92b836e1bf77d /numpy/testing/_private/utils.py
parentf1a247f9952085db72c3f8248f8336a0961d825c (diff)
downloadnumpy-473a68a53028f8a24b88bb9fc08b38dc3b69800e.tar.gz
DOC: Reword docstring for assert_equal (gh-15614)
Diffstat (limited to 'numpy/testing/_private/utils.py')
-rw-r--r--numpy/testing/_private/utils.py2
1 files changed, 1 insertions, 1 deletions
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.