Description: Declare a,b in tests as np arrays explicitly
Author: Nilesh Patra <nilesh@debian.org>
Last-Update: 2022-05-02
--- a/nipype/algorithms/tests/test_CompCor.py
+++ b/nipype/algorithms/tests/test_CompCor.py
@@ -15,6 +15,7 @@ def close_up_to_column_sign(a, b, rtol=1
     a = np.asanyarray(a)
     b = np.asanyarray(b)
     kwargs = dict(rtol=rtol, atol=atol, equal_nan=equal_nan)
+    a, b = np.array(a), np.array(b)
     if np.allclose(a, b, **kwargs):
         return True
 
