#NEWLINE# def addFailure( self , test , err ) : #NEWLINE# #INDENT# '\n        Record that C{test} failed an assertion with the error C{err}.\n\n        Also marks the run as being unsuccessful, causing\n        L{SubunitReporter.wasSuccessful} to return C{False}.\n        ' #NEWLINE# self . _successful = False #NEWLINE# return self . _subunit . addFailure ( test , util . excInfoOrFailureToExcInfo ( err ) )