#NEWLINE# def addFailure( self , result ) : #NEWLINE# #INDENT# 'Add a failure to the result.' #NEWLINE# result . addFailure ( self , ( Exception , Exception ( ) , None ) ) #NEWLINE# ( test , err ) = test . failures [ ( - 1 ) ] #NEWLINE# result . failures [ ( - 1 ) ] = ( test , '' )