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