#NEWLINE# def test_rasterize_invalid_out_dtype( basic_geometry ) : #NEWLINE# #INDENT# ' A non-supported data type for out should raise an exception ' #NEWLINE# out = numpy . zeros ( DEFAULT_SHAPE , dtype = numpy . int64 ) #NEWLINE# with Env ( ) : #NEWLINE# #INDENT# with pytest . raises ( ValueError ) : #NEWLINE# #INDENT# rasterize ( [ basic_geometry ] , out = basic_geometry )