#NEWLINE# def test_memory_hijinks( self ) : #NEWLINE# #INDENT# 'Testing Geometry __del__() on rings and polygons.' #NEWLINE# poly = fromstr ( self . geometries . polygons [ 1 ] . wkt ) #NEWLINE# ring1 = poly [ 0 ] #NEWLINE# ring2 = poly [ 1 ] #NEWLINE# del ring1 #NEWLINE# del ring2 #NEWLINE# ring1 = poly [ 0 ] #NEWLINE# ring2 = poly [ 1 ] #NEWLINE# del poly #NEWLINE# ( s1 , s2 ) = ( str ( ring1 ) , str ( ring2 ) )