summaryrefslogtreecommitdiff
path: root/numpy/testing
diff options
context:
space:
mode:
authorwarren <warren.weckesser@gmail.com>2022-11-18 10:55:18 -0500
committerwarren <warren.weckesser@gmail.com>2022-11-18 11:02:23 -0500
commitc6e75fce247d3d698ef76bb2c550858d32241268 (patch)
tree1a782e7fce27a64dd132c54df861919cdff78611 /numpy/testing
parent72af24df557802015820714aaa3d105d53216431 (diff)
downloadnumpy-c6e75fce247d3d698ef76bb2c550858d32241268.tar.gz
DOC: testing: Fix typo: nulps -> nulp
[skip actions] [skip travis] [skip azp]
Diffstat (limited to 'numpy/testing')
-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 ea1dc28b5..45400856b 100644
--- a/numpy/testing/_private/utils.py
+++ b/numpy/testing/_private/utils.py
@@ -1626,7 +1626,7 @@ def assert_array_almost_equal_nulp(x, y, nulp=1):
-----
An assertion is raised if the following condition is not met::
- abs(x - y) <= nulps * spacing(maximum(abs(x), abs(y)))
+ abs(x - y) <= nulp * spacing(maximum(abs(x), abs(y)))
Examples
--------