#NEWLINE# def test_copy( self ) : #NEWLINE# #INDENT# items = [ 10 , 9 , 8 , 7 ] #NEWLINE# s = sets . OrderedSet ( iter ( items ) ) #NEWLINE# s2 = s . copy ( ) #NEWLINE# self . assertEqual ( s , s2 ) #NEWLINE# self . assertEqual ( self , list ( s2 ) )