#NEWLINE# def test10_attributes( self ) : #NEWLINE# #INDENT# 'Testing the attribute retrieval routines.' #NEWLINE# for s in srlist : #NEWLINE# #INDENT# srs = SpatialReference ( s . wkt ) #NEWLINE# for tup in s . attr : #NEWLINE# #INDENT# att = srs [ 0 ] #NEWLINE# exp = tup [ 1 ] #NEWLINE# self . assertEqual ( exp , srs [ att ] )