#NEWLINE# def _call_func( self , impl , args , kw ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# result = impl ( self , * args , ** kw ) #NEWLINE# self . assertIsNotNone ( result ) #NEWLINE# error = None #NEWLINE# tb = None #NEWLINE# #UNINDENT# except Exception as e : #NEWLINE# #INDENT# result = None #NEWLINE# error = e #NEWLINE# tb = traceback . format_exc ( ) #NEWLINE# #UNINDENT# return ( result , error , tb )