def METHOD_NAME(axes):
    size = (1, 2, 1)
    a = np.random.randint(low=-10, high=10, size=size)
    b = num.array(a)
    res_np = np.squeeze(a, axis=axes)
    res_num = num.squeeze(b, axis=axes)
    assert np.array_equal(res_num, res_np)