Skip to content

Commit 5eb5e54

Browse files
committed
FIX: Revert
1 parent e61e7a0 commit 5eb5e54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nibabel/testing/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def assert_allclose_safely(a, b, match_nans=True, rtol=1e-5, atol=1e-8):
8282
a = a.astype(float)
8383
if b.dtype.kind in 'ui':
8484
b = b.astype(float)
85-
np.testing.assert_allclose(a, b, rtol=rtol, atol=atol)
85+
assert np.allclose(a, b, rtol=rtol, atol=atol)
8686

8787

8888
def assert_arrays_equal(arrays1, arrays2):

0 commit comments

Comments
 (0)