summaryrefslogtreecommitdiff
path: root/numpy/testing/utils.py
diff options
context:
space:
mode:
authorchebee7i <chebee7i@gmail.com>2015-02-22 18:01:28 -0600
committerchebee7i <chebee7i@gmail.com>2015-02-22 18:01:28 -0600
commita3b7aa5bfe632fa70be805e20876c62b97a6c4ec (patch)
treeaf39787293c941698c9b6f64f0d2db9a65752f16 /numpy/testing/utils.py
parentc2681a55c2c833b0a57deefc5fe2f23b01b0f26d (diff)
downloadnumpy-a3b7aa5bfe632fa70be805e20876c62b97a6c4ec.tar.gz
MAINT: Minor code edits.
Diffstat (limited to 'numpy/testing/utils.py')
-rw-r--r--numpy/testing/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/testing/utils.py b/numpy/testing/utils.py
index df186f63c..1051288c2 100644
--- a/numpy/testing/utils.py
+++ b/numpy/testing/utils.py
@@ -1292,7 +1292,7 @@ def assert_allclose(actual, desired, rtol=1e-7, atol=0, equal_nan=False,
import numpy as np
def compare(x, y):
return np.core.numeric.isclose(x, y, rtol=rtol, atol=atol,
- equal_nan=equal_nan)
+ equal_nan=equal_nan)
actual, desired = np.asanyarray(actual), np.asanyarray(desired)
header = 'Not equal to tolerance rtol=%g, atol=%g' % (rtol, atol)