def test_shapes_blank_mask(basic_image):

    with Env():
        assert numpy.array_equal(
            list(shapes(
                basic_image,
                mask=numpy.ones(basic_image.shape, dtype=rasterio.bool_))
            ),
            list(shapes(basic_image))
        )
Mask is blank so results should mask shapes without mask
dataset/ETHPy150Open mapbox/rasterio/tests/test_features.py/test_shapes_blank_mask