#NEWLINE# def test_copy( self ) : #NEWLINE# #INDENT# orig = SortedDict ( ( ( 1 , 'one' ) , ( 0 , 'zero' ) , ( 2 , 'two' ) ) ) #NEWLINE# copied = copy . copy ( orig ) #NEWLINE# self . assertEqual ( list ( six . iterkeys ( orig ) ) , [ 1 , 0 , 2 ] ) #NEWLINE# self . assertEqual ( list ( six . iterkeys ( self ) ) , [ 1 , 0 , 2 ] )