def test_checksum_band_window_too_tall():
    with rasterio.open('tests/data/RGB.byte.tif') as src:
        window = ((0, 10000), (0, src.width))
        checksums = [src.checksum(i, window=window) for i in src.indexes]
        assert checksums == [25420, 29131, 37860]
Windows get truncated to maximum extent
dataset/ETHPy150Open mapbox/rasterio/tests/test_checksum.py/test_checksum_band_window_too_tall