code: def test_nearest_list_argument():
      nd = np.array(
          [
              [0, 0, 0, 0, 1, 0, 1],
              [0, 0, 0, 0, 0, 1, 1],
              [0, 0, 0, 0, 1, 1, 2],
          ]
      )
      d = nd[:, 3:]
  
      # z is np.array
      NI = NearestNDInterpolator((d[0], d[1]), d[2])
      assert_array_equal(NI([0.1, 0.9], [0.1, 0.9]), [0, 2])
  
      # z is list
      NI = NearestNDInterpolator((d[0], d[1]), list(d[2]))
      assert_array_equal(NI([0.1, 0.9], [0.1, 0.9]), [0, 2])
  
file_path: catboost/contrib/python/scipy/py3/scipy/interpolate/tests/test_ndgriddata.py
imports: import numpy
  from numpy.testing import assert_equal, assert_array_equal, assert_allclose
  from pytest import raises
  from scipy.interpolate import griddata, NearestNDInterpolator
label_desc: Use image node_id 2 for calling a global function with example usage: test_nearest_list_argument() without return types