#NEWLINE# def addError( self , test , err ) : #NEWLINE# #INDENT# super ( TextTestResult , self ) . addError ( test , self ) #NEWLINE# if self . showAll : #NEWLINE# #INDENT# self . stream . writeln ( 'ERROR' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if self . dots : #NEWLINE# #INDENT# self . stream . write ( 'E' ) #NEWLINE# self . stream . flush ( )