#NEWLINE# def test_exception( self ) : #NEWLINE# #INDENT# '\n        C{_trimFrames} removes traces of C{runWithWarningsSuppressed} from\n        C{utils} when a synchronous exception happens in a C{TestCase}\n        based test.\n        ' #NEWLINE# test = erroneous . TestAsynchronousFail ( 'test_exception' ) #NEWLINE# frames = self . getErrorFrames ( test ) #NEWLINE# self . checkFrames ( frames , [ ( 'test_exception' , 'twisted/trial/test/erroneous' ) ] )