#NEWLINE# def test_sequence_matcher( ) : #NEWLINE# #INDENT# t1 = 'foobar derp hepl derpl' #NEWLINE# t2 = 'fooasldal 3 hepl asl a derpl' #NEWLINE# ops = difference . sequence_matcher ( t1 , t2 ) #NEWLINE# eq_ ( '' . join ( difference . apply ( ops , t1 , t2 ) ) , t2 )