diff options
author | Josh Wilson <person142@users.noreply.github.com> | 2016-10-19 21:04:59 -0500 |
---|---|---|
committer | Josh Wilson <person142@users.noreply.github.com> | 2016-10-19 21:04:59 -0500 |
commit | 41aee80cc64d5679ca8cb9e8ce6247c738b942d4 (patch) | |
tree | 2e0ef4d5bb609877ae87291c5044ecb152ee9443 /numpy/testing/utils.py | |
parent | 6da5f00fff528354d3676617b91b024007e62ecd (diff) | |
download | numpy-41aee80cc64d5679ca8cb9e8ce6247c738b942d4.tar.gz |
MAINT: make `assert_allclose` behavior on `nan`s match pre 1.12
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 d17e7e404..e2162acf9 100644 --- a/numpy/testing/utils.py +++ b/numpy/testing/utils.py @@ -1330,7 +1330,7 @@ def _assert_valid_refcount(op): del d # for pyflakes -def assert_allclose(actual, desired, rtol=1e-7, atol=0, equal_nan=False, +def assert_allclose(actual, desired, rtol=1e-7, atol=0, equal_nan=True, err_msg='', verbose=True): """ Raises an AssertionError if two objects are not equal up to desired |