def METHOD_NAME():
    mask_data = np.ones((10, 10))
    bbox = RegionBoundingBox(5, 15, 5, 15)
    mask = RegionMask(mask_data, bbox)
    with pytest.raises(ValueError):
        mask.cutout(np.arange(10))
    with pytest.raises(ValueError):
        mask.to_image((10,))