code: def test_multivalue_2d(self):
      x = np.array(
          [(0, 0), (-0.5, -0.5), (-0.5, 0.5), (0.5, 0.5), (0.25, 0.3)],
          dtype=np.double,
      )
      y = (
          np.arange(x.shape[0], dtype=np.double)[:, None]
          + np.array([0, 1])[None, :]
      )
  
      for method in ("nearest", "linear", "cubic"):
          for rescale in (True, False):
              msg = repr((method, rescale))
              yi = griddata(x, y, x, method=method, rescale=rescale)
              assert_allclose(y, yi, atol=1e-14, err_msg=msg)
  
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 3 for calling the TestGriddata obj's underlying member method code with example usage: obj.test_multivalue_2d() without return types