'C{_trimFrames} removes traces of C{runWithWarningsSuppressed} from
C{utils} when a synchronous exception happens in a C{TestCase}
based test.'

def test_exception(self):

    test = erroneous.TestAsynchronousFail('test_exception')
    frames = self.getErrorFrames(test)
    self.checkFrames(frames, [('test_exception', 'twisted/trial/test/erroneous')])
