code: def test_close_up_to_column_sign(a, b, close):
      a = np.asanyarray(a)
      b = np.asanyarray(b)
      assert close_up_to_column_sign(a, b) == close
      # Sign flips of all columns never changes result
      assert close_up_to_column_sign(a, -b) == close
      assert close_up_to_column_sign(-a, b) == close
      assert close_up_to_column_sign(-a, -b) == close
      # Trivial case
      assert close_up_to_column_sign(a, a)
      assert close_up_to_column_sign(b, b)
  
imports: import os
  import nibabel
  import numpy
  import pytest
  from ...testing import utils
  from ..confounds import CompCor, TCompCor, ACompCor
label_desc: Use image node_id 2 for calling a global function with example usage: test_close_up_to_column_sign(a, b, close) without return types