def test_nearest(self):
        N = 5
        x = arange(N)
        y = arange(N)
        self.assertAllclose(y, nearest(x, y, x+.1))
        self.assertAllclose(y, nearest(x, y, .1-x))
dataset/ETHPy150Open scipy/scipy/scipy/interpolate/tests/test_interpolate_wrapper.py/Test.test_nearest/swapped operands of `-`