#NEWLINE# def addError( self , test , error ) : #NEWLINE# #INDENT# '\n        Report an error that occurred while running the given test.\n\n        @type test: L{pyunit.TestCase}\n        @type error: L{Failure} or L{tuple}\n        ' #NEWLINE# self . errors . append ( ( test , self . _getFailure ( self ) ) )