code: def test_nearest_options():
      # smoke test that NearestNDInterpolator accept cKDTree options
      npts, nd = 4, 3
      x = np.arange(npts * nd).reshape((npts, nd))
      y = np.arange(npts)
      nndi = NearestNDInterpolator(x, y)
  
      opts = {"balanced_tree": False, "compact_nodes": False}
      nndi_o = NearestNDInterpolator(x, y, tree_options=opts)
      assert_allclose(nndi(x), nndi_o(x), atol=1e-14)
  
file_path: catboost/contrib/python/scipy/py2/scipy/interpolate/tests/test_ndgriddata.py
imports: from __future__ import division, print_function, absolute_import
  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 1 for calling a global function with example usage: test_nearest_options() without return types