def test_sieve_connectivity_rook(diagonal_image):

    assert not numpy.any(
        sieve(diagonal_image, diagonal_image.sum(), connectivity=4)
    )
Diagonals are not connected, so feature is removed
dataset/ETHPy150Open mapbox/rasterio/tests/test_features.py/test_sieve_connectivity_rook