'Check Numpy ufunc on an Index object.'

def test_index_ufunc(self):

    i = Index(np.int32([42, 8, (-5)]))
    cfunc = jit(nopython=True)(npyufunc_usecase)
    ii = cfunc(i)
    self.assertIsInstance(ii, Index)
    self.assertPreciseEqual(ii._data, np.cos(np.sin(i._data)))
