def test_shapes_connectivity_queen(diagonal_image):

    with Env():
        assert len(list(shapes(diagonal_image, connectivity=8))) == 2
Run preparations (parsing, caching, ...).
dataset/ETHPy150Open mapbox/rasterio/tests/test_features.py/test_shapes_connectivity_queen--crossover with--dataset/ETHPy150Open adampresley/bottlepy-bootstrap/app/bottle.py/BaseTemplate.prepare