class_docstr: Note: Tests currently do a poor job of testing functionality
code: def test_compcor_bad_input_shapes(self):
      # dim 0 is < dim 0 of self.mask_files (2)
      shape_less_than = (1, 2, 2, 5)
      # dim 0 is > dim 0 of self.mask_files (2)
      shape_more_than = (3, 3, 3, 5)
  
      for data_shape in (shape_less_than, shape_more_than):
          data_file = utils.save_toy_nii(
              np.zeros(data_shape), "temp.nii"
          )
          interface = CompCor(
              realigned_file=data_file, mask_files=self.mask_files[0]
          )
          with pytest.raises(ValueError):
              interface.run()
  
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 8 for calling the TestCompCor obj's underlying member method code with example usage: obj.test_compcor_bad_input_shapes() without return types