def test_shapes(basic_image):

    with Env():
        results = list(shapes(basic_image))

        assert len(results) == 2

        shape, value = results[0]
        assert shape == {
            'coordinates': [
                [(2, 2), (2, 5), (5, 5), (5, 2), (2, 2)]
            ],
            'type': 'Polygon'
        }
        assert value == 1

        shape, value = results[1]
        assert shape == {
            'coordinates': [
                [(0, 0), (0, 10), (10, 10), (10, 0), (0, 0)],
                [(2, 2), (5, 2), (5, 5), (2, 5), (2, 2)]
            ],
            'type': 'Polygon'
        }
        assert value == 0
The |CT_TextCharacterProperties| instance (<a:defRPr> element) that
dataset/ETHPy150Open mapbox/rasterio/tests/test_features.py/test_shapes--crossover with--dataset/ETHPy150Open scanny/python-pptx/pptx/text/text.py/_Paragraph._defRPr