From 41aee80cc64d5679ca8cb9e8ce6247c738b942d4 Mon Sep 17 00:00:00 2001 From: Josh Wilson Date: Wed, 19 Oct 2016 21:04:59 -0500 Subject: MAINT: make `assert_allclose` behavior on `nan`s match pre 1.12 --- numpy/testing/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/testing/utils.py') 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 -- cgit v1.2.1