#NEWLINE# def addError( self , test , err ) : #NEWLINE# #INDENT# ( err_cls , reason , _ ) = err #NEWLINE# if ( err_cls != SkipTest ) : #NEWLINE# #INDENT# diagnostics = formatter . format_exception ( err ) #NEWLINE# self . tracker . add_not_ok ( self . _cls_name ( test ) , self . _description ( test ) , diagnostics = diagnostics ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . tracker . add_skip ( self . _cls_name ( test ) , self . _description ( test ) , reason )