#NEWLINE# def test_comparison_different_length( self ) : #NEWLINE# #INDENT# a = Series ( [ 'a' , 'b' , 'c' ] ) #NEWLINE# b = Series ( [ 'b' , 'a' ] ) #NEWLINE# self . assertRaises ( ValueError , a . __lt__ , b ) #NEWLINE# a = Series ( [ 1 , 2 ] ) #NEWLINE# b = Series ( [ 2 , 3 , 4 ] ) #NEWLINE# self . assertRaises ( ValueError , a . __eq__ , b )