#NEWLINE# def test_multi_intersection( self ) : #NEWLINE# #INDENT# s = sets . OrderedSet ( [ 1 , 2 , 3 ] ) #NEWLINE# s2 = sets . OrderedSet ( [ 2 , 3 , 4 , 5 ] ) #NEWLINE# s3 = sets . OrderedSet ( [ 1 , 2 ] ) #NEWLINE# es = set ( s ) #NEWLINE# es2 = set ( s2 ) #NEWLINE# es3 = set ( s3 ) #NEWLINE# self . assertEqual ( es . intersection ( s2 , s3 ) , s . intersection ( s2 , s3 ) ) #NEWLINE# self . assertEqual ( es2 . intersection ( es3 ) , s2 . intersection ( s3 ) )