#NEWLINE# def test_reproject_unsupported_resampling_guass( ) : #NEWLINE# #INDENT# 'Resampling.gauss is unsupported.' #NEWLINE# with Env ( ) : #NEWLINE# #INDENT# with rasterio . open ( 'tests/data/RGB.byte.tif' ) as src : #NEWLINE# #INDENT# source = src . read ( 1 ) #NEWLINE# #UNINDENT# dst_crs = { #NEWLINE# #INDENT# 'init' : 'EPSG:32619' , #NEWLINE# #UNINDENT# } #NEWLINE# out = numpy . empty ( src . shape , dtype = numpy . uint8 ) #NEWLINE# with pytest . raises ( ValueError ) : #NEWLINE# #INDENT# reproject ( source , out , src_transform = src . transform , src_crs = src . crs , dst_transform = DST_TRANSFORM , dst_crs = dst_crs , resampling = Resampling . gauss )