#NEWLINE# def testUnbalanced( self ) : #NEWLINE# #INDENT# value = self . parser . parse_value ( '40 EUR' ) #NEWLINE# entry1 = Entry ( self . bank , value ) #NEWLINE# entry2 = Entry ( self . expenses , value ) #NEWLINE# self . assertRaises ( UnbalancedTransaction , Transaction , [ entry1 , entry1 ] )