#NEWLINE# def testIterators_02_recursive( self ) : #NEWLINE# #INDENT# p = makeTDInstance ( ) #NEWLINE# items = [ ( 'a.v' , 1 ) , ( 'b' , 2 ) , ( 'c' , 3 ) , ( 'aa.b.c.d.e' , 4 ) ] #NEWLINE# p . set ( ** dict ( items ) ) #NEWLINE# self . assert_ ( ( set ( p . iterkeys ( ) ) == set ( [ k for ( k , v ) in self ] ) ) ) #NEWLINE# self . assert_ ( ( set ( p . itervalues ( ) ) == set ( [ v for ( k , v ) in items ] ) ) ) #NEWLINE# self . assert_ ( ( set ( p . iteritems ( ) ) == set ( items ) ) )