def test_shapes_internal_driver_manager(basic_image):

    assert next(shapes(basic_image))[0]['type'] == 'Polygon'
Shapes should work without explicitly calling driver manager
dataset/ETHPy150Open mapbox/rasterio/tests/test_features.py/test_shapes_internal_driver_manager