#NEWLINE# def test_open_with_profile( tmpdir ) : #NEWLINE# #INDENT# tiffname = str ( tmpdir . join ( 'foo.tif' ) ) #NEWLINE# with rasterio . open ( data , 'w' , ** default_gtiff_profile ( count = 1 , width = 256 , height = 256 ) ) as dst : #NEWLINE# #INDENT# data = dst . read ( )