#NEWLINE# def test_sorted_items( self ) : #NEWLINE# #INDENT# loc = _Locations ( ) #NEWLINE# for ( file , lineno ) in self . _data . items ( ) : #NEWLINE# #INDENT# loc . add ( file , lineno ) #NEWLINE# #UNINDENT# target = [ '{0}: {1}' . format ( k , v ) for ( k , v ) in self . _data . items ( ) ] #NEWLINE# self . assertListEqual ( loc . sorted_items ( ) , sorted ( target ) )