#NEWLINE# def test_odict_copy( self ) : #NEWLINE# #INDENT# o = util . OrderedDict ( ) #NEWLINE# o [ 'zzz' ] = 1 #NEWLINE# o [ 'aaa' ] = 2 #NEWLINE# eq_ ( list ( o . keys ( ) ) , [ 'zzz' , 'aaa' ] ) #NEWLINE# o2 = o . copy ( ) #NEWLINE# eq_ ( list ( o2 . keys ( ) ) , list ( o . keys ( ) ) ) #NEWLINE# o3 = copy . copy ( o ) #NEWLINE# eq_ ( list ( o3 . keys ( ) ) , list ( o . keys ( ) ) )