Skip to content

Commit 473a68a

Browse files
authored
DOC: Reword docstring for assert_equal (numpygh-15614)
1 parent f1a247f commit 473a68a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpy/testing/_private/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ def assert_equal(actual, desired, err_msg='', verbose=True):
284284
the scalar.
285285
286286
This function handles NaN comparisons as if NaN was a "normal" number.
287-
That is, no assertion is raised if both objects have NaNs in the same
287+
That is, AssertionError is not raised if both objects have NaNs in the same
288288
positions. This is in contrast to the IEEE standard on NaNs, which says
289289
that NaN compared to anything must return False.
290290

0 commit comments

Comments
 (0)