code: def assertAllclose(self, x, y, rtol=1.0e-5):
      for i, xi in enumerate(x):
          assert_(
              allclose(xi, y[i], rtol) or (isnan(xi) and isnan(y[i]))
          )
  
file_path: catboost/contrib/python/scipy/py2/scipy/interpolate/tests/test_interpolate_wrapper.py
imports: from __future__ import division, print_function, absolute_import
  from numpy import arange, allclose, ones, isnan
  import numpy
  from numpy.testing import assert_, assert_allclose
  from scipy._lib._numpy_compat import suppress_warnings
  from scipy.interpolate.interpolate_wrapper import linear, logarithmic, block_average_above, nearest
label_desc: Use image node_id 1 for calling the Test obj's underlying member method code with example usage: obj.assertAllclose(x, y, rtol) without return types