def test_rasterize_missing_out(basic_geometry):

    with Env():
        with pytest.raises(ValueError):
            rasterize([basic_geometry], out=None, out_shape=None)
If both out and out_shape are missing, should raise exception
dataset/ETHPy150Open mapbox/rasterio/tests/test_features.py/test_rasterize_missing_out