#NEWLINE# def addError( self , test , error ) : #NEWLINE# #INDENT# '\n        If the error is a L{util.DirtyReactorAggregateError}, instead of\n        reporting it as a normal error, throw a warning.\n        ' #NEWLINE# if ( isinstance ( error , Failure ) and error . check ( util . DirtyReactorAggregateError ) ) : #NEWLINE# #INDENT# warnings . warn ( error . getErrorMessage ( ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . _originalReporter . addError ( test , self )