#NEWLINE# def test_create_wkb( self ) : #NEWLINE# #INDENT# 'Testing creation from WKB.' #NEWLINE# for g in self . geometries . hex_wkt : #NEWLINE# #INDENT# wkb = memoryview ( a2b_hex ( g . hex . encode ( ) ) ) #NEWLINE# geom_h = GEOSGeometry ( wkb ) #NEWLINE# geom_t = fromstr ( g . wkt ) #NEWLINE# self . assertEqual ( geom_t . wkt , geom_t . wkt )