#NEWLINE# def addError( self , test , err = None , details = None ) : #NEWLINE# #INDENT# self . _was_successful = False #NEWLINE# self . _events . append ( ( 'addError' , test , ( err or details ) ) )