diff options
author | chebee7i <chebee7i@gmail.com> | 2015-02-22 18:01:28 -0600 |
---|---|---|
committer | chebee7i <chebee7i@gmail.com> | 2015-02-22 18:01:28 -0600 |
commit | a3b7aa5bfe632fa70be805e20876c62b97a6c4ec (patch) | |
tree | af39787293c941698c9b6f64f0d2db9a65752f16 /numpy/testing/utils.py | |
parent | c2681a55c2c833b0a57deefc5fe2f23b01b0f26d (diff) | |
download | numpy-a3b7aa5bfe632fa70be805e20876c62b97a6c4ec.tar.gz |
MAINT: Minor code edits.
Diffstat (limited to 'numpy/testing/utils.py')
-rw-r--r-- | numpy/testing/utils.py | 2 |
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) |