@testing.for_all_dtypes_combination(names=['x_type', 'y_type'])
@testing.numpy_cupy_allclose()
def check_array_reversed_op(self, op, xp, x_type, y_type, no_bool=False):
    if (no_bool and (x_type == numpy.bool_) and (y_type == numpy.bool_)):
        return xp.array(True)
    a = xp.array([1, 2, 3, 4, 5], x_type)
    b = xp.array([1, 2, 3, 4, 5], y_type)
    return op(a, b[::(- 1)])
@testing.for_all_dtypes_combination(names=['x_type', 'y_type'])
@testing.numpy_cupy_allclose()
def check_array_reversed_op(self, op, xp, x_type, y_type, no_bool=False):
    if (no_bool and (x_type == numpy.bool_) and (y_type == numpy.bool_)):
        return xp.array(True)
    a = xp.array([1, 2, 3, 4, 5], x_type)
    b = xp.array([1, 2, 3, 4, 5], y_type)
    return op(a, b[::(- 1)])