#NEWLINE# def test_diff_line3( ) : #NEWLINE# #INDENT# A = [ 'first line' ] #NEWLINE# B = [ 'another new one' , 'second one' , 'first line' ] #NEWLINE# result = lines_diff ( A , B , check_modified = True ) #NEWLINE# assert ( result [ 0 ] [ 'state' ] == 'added' ) #NEWLINE# assert ( result [ 1 ] [ 'state' ] == 'added' ) #NEWLINE# assert ( result [ 2 ] [ 'state' ] == 'unchanged' )