def test_sieve_small(basic_image, pixelated_image):

    with Env():
        assert numpy.array_equal(
            basic_image,
            sieve(pixelated_image, basic_image.sum())
        )
Setting the size smaller than or equal to the size of the feature in the
dataset/ETHPy150Open mapbox/rasterio/tests/test_features.py/test_sieve_small