#NEWLINE# def test_mergeduplicates_shortrows( ) : #NEWLINE# #INDENT# table = [ [ 'foo' , 'bar' , 'baz' ] , [ 'a' , 1 , True ] , [ 'b' , 2 , True ] , [ 'b' , 3 ] ] #NEWLINE# actual = mergeduplicates ( table , 'foo' ) #NEWLINE# expect = [ ( 'foo' , 'bar' , 'baz' ) , ( 'a' , 1 , True ) , ( 'b' , Conflict ( [ 2 , 3 ] ) , True ) ] #NEWLINE# ieq ( expect , actual )