def test_rasterize_value(basic_geometry, basic_image_2x2):

    value = 5
    with Env():
        assert numpy.array_equal(
            basic_image_2x2 * value,
            rasterize(
                [(basic_geometry, value)], out_shape=DEFAULT_SHAPE
            )
        )
All shapes should rasterize to the value passed in a tuple alongside
dataset/ETHPy150Open mapbox/rasterio/tests/test_features.py/test_rasterize_value