code: def test_mask_img_transform_shape_mismatch(
      flip_img, mini_img, mini_mask
  ):
      masker = SurfaceMasker(mini_mask).fit()
      with pytest.raises(ValueError, match="number of vertices"):
          masker.transform(flip_img(mini_img))
      # non-flipped is ok
      masker.transform(mini_img)
  
file_path: nilearn/nilearn/experimental/surface/tests/test_maskers.py
imports: import numpy
  import pytest
  from nilearn.experimental.surface import SurfaceImage, SurfaceMasker
label_desc: Use image node_id 5 for calling a global function with example usage: test_mask_img_transform_shape_mismatch(flip_img, mini_img, mini_mask) without return types