def METHOD_NAME(axis):
    # In Numpy, it pass
    # In cuNumeric, it raises NotImplementedError
    size = (3, 4, 7)
    arr_np = np.random.randint(-5, 5, size=size)
    arr_num = num.array(arr_np)
    out_np = np.mean(arr_np, axis=axis)
    out_num = num.mean(arr_num, axis=axis)
    assert np.array_equal(out_np, out_num)