code: def test_data_shape_not_matching_mesh(mini_img, flip):
      with pytest.raises(ValueError, match="shape.*vertices"):
          SurfaceImage(mini_img.mesh, flip(mini_img.data))
  
file_path: nilearn/nilearn/experimental/surface/tests/test_surface_image.py
imports: import numpy
  import pytest
  from nilearn.experimental.surface import FileMesh, InMemoryMesh, SurfaceImage
label_desc: Use image node_id 3 for calling a global function with example usage: test_data_shape_not_matching_mesh(mini_img, flip) without return types