code: def test_load_surf_data_numpy_gt_1pt23():
      """Test loading fsaverage surface
  
      Threw an error with numpy >=1.24.x
      but only a deprecaton warning with numpy <1.24.x.
  
      Regression test for
      https://github.com/nilearn/nilearn/issues/3638
      """
      fsaverage = datasets.fetch_surf_fsaverage()
      surface.load_surf_data(fsaverage["pial_left"])
  
imports: import os
  import tempfile
  import warnings
  import nibabel
  import numpy
  import pytest
  from nibabel import gifti
  from numpy.testing import assert_array_almost_equal, assert_array_equal
  from scipy.spatial import Delaunay
  from scipy.stats import pearsonr
  from nilearn import datasets, image
  from nilearn._utils import data_gen
  from nilearn.image import resampling
  from nilearn.surface import Mesh, Surface, load_surf_data, load_surf_mesh, surface
  from nilearn.surface.surface import _gifti_img_to_mesh, _load_surf_files_gifti_gzip
  from nilearn.surface.tests._testing import flat_mesh, generate_surf, z_const_img
label_desc: Use image node_id 1 for calling a global function with example usage: test_load_surf_data_numpy_gt_1pt23() without return types