#NEWLINE# def test_reverse( self ) : #NEWLINE# #INDENT# l = [ 1 , 2 , 3 ] #NEWLINE# expect = [ 3 , 2 , 1 ] #NEWLINE# s = seq ( l ) #NEWLINE# result = s . reverse ( ) #NEWLINE# self . assertIteratorEqual ( expect , result ) #NEWLINE# self . assert_type ( self ) #NEWLINE# result = s . __reversed__ ( ) #NEWLINE# self . assertIteratorEqual ( expect , result ) #NEWLINE# self . assert_type ( result )