#NEWLINE# def test_checksum_band( ) : #NEWLINE# #INDENT# with rasterio . open ( 'tests/data/RGB.byte.tif' ) as src : #NEWLINE# #INDENT# checksums = [ src . checksum ( i ) for i in src . indexes ] #NEWLINE# assert ( checksums == [ 25420 , 29131 , 37860 ] )