summaryrefslogtreecommitdiff
path: root/numpy/testing/utils.py
diff options
context:
space:
mode:
authorrgommers <ralf.gommers@googlemail.com>2011-03-09 21:38:04 +0800
committerrgommers <ralf.gommers@googlemail.com>2011-03-09 21:38:04 +0800
commitf43223479f917e404e724e6a3df27aa701e6d6bf (patch)
treea43044b67876093246ccc04cc3bedfddbb6648ae /numpy/testing/utils.py
parentf527b49ab3dee3b48f2c853bdce1f5a5af1d820d (diff)
downloadnumpy-f43223479f917e404e724e6a3df27aa701e6d6bf.tar.gz
BUG: did not intend to change default tolerances in assert_allclose. Revert.
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 24058842d..0c0483f39 100644
--- a/numpy/testing/utils.py
+++ b/numpy/testing/utils.py
@@ -1110,7 +1110,7 @@ def _assert_valid_refcount(op):
assert(sys.getrefcount(i) >= rc)
-def assert_allclose(actual, desired, rtol=1e-5, atol=1e-8,
+def assert_allclose(actual, desired, rtol=1e-7, atol=0,
err_msg='', verbose=True):
"""
Raise an assertion if two objects are not equal up to desired tolerance.