#NEWLINE# def test_logging_handler( self ) : #NEWLINE# #INDENT# load_config_from_file ( self . another_app , 'testing.py' ) #NEWLINE# logger_init_app ( self . another_app ) #NEWLINE# for handler in self . another_app . logger . handlers : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# raise #NEWLINE# #UNINDENT# except : #NEWLINE# #INDENT# formatter = handler . formatter #NEWLINE# if isinstance ( formatter , LocalVarFormatter ) : #NEWLINE# #INDENT# formatter . formatException ( sys . exc_info ( ) )