diff --git a/tests/test_wrapperutils.py b/tests/test_wrapperutils.py
index dcf3f5fd684ee632f67589de3519d4e48b50bdac..9e1d5d6a82c56801a60918801c28bfeb81f4e825 100644
--- a/tests/test_wrapperutils.py
+++ b/tests/test_wrapperutils.py
@@ -252,7 +252,7 @@ def test_fileOrImage():
 
         # file  file  array
         result = func('img1.nii', img2='img2.nii', output=wutils.LOAD)['output']
-        assert np.all(np.asanyarrary(result.dataobj) == expected)
+        assert np.all(np.asanyarray(result.dataobj) == expected)
 
         # file  array file
         func('img1.nii', img2=img2, output='output.nii')