summaryrefslogtreecommitdiff
path: root/numpy/testing/utils.py
diff options
context:
space:
mode:
authorRalf Gommers <ralf.gommers@googlemail.com>2014-04-21 16:14:21 +0200
committerRalf Gommers <ralf.gommers@googlemail.com>2014-04-21 16:14:21 +0200
commit1dff3cea279dd1736dfee03334404eb381fedc75 (patch)
tree39c6721b534d38aed63598dbb84118549ac44fcc /numpy/testing/utils.py
parentdb668f3792247422010825cf76c9dd927166468b (diff)
downloadnumpy-1dff3cea279dd1736dfee03334404eb381fedc75.tar.gz
DOC: fix examples in f2py documentation. They didn't appear at all in html.
Also fix example in testing that Sphinx saw as section header.
Diffstat (limited to 'numpy/testing/utils.py')
-rw-r--r--numpy/testing/utils.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/numpy/testing/utils.py b/numpy/testing/utils.py
index 70357d835..ddf21e2bc 100644
--- a/numpy/testing/utils.py
+++ b/numpy/testing/utils.py
@@ -1332,7 +1332,6 @@ def assert_array_almost_equal_nulp(x, y, nulp=1):
>>> np.testing.assert_array_almost_equal_nulp(x, x*eps/2 + x)
>>> np.testing.assert_array_almost_equal_nulp(x, x*eps + x)
- ------------------------------------------------------------
Traceback (most recent call last):
...
AssertionError: X and Y are not equal to 1 ULP (max is 2)