'A test method which runs and has a failure recorded against it is
reported in the output stream with the I{FAIL} tag along with a summary
of what failure was reported and the ID of the test.'

def test_formatFailedMethod(self):

    suite = self.loader.loadByName('twisted.trial.test.erroneous.TestRegularFail.test_fail')
    output = self.getOutput(suite).splitlines()
    match = [self.doubleSeparator, '[FAIL]', 'Traceback    (most    recent    call    last):', re.compile('^\\s+File    .*erroneous\\.py.,    line    \\d+,    in    test_fail$'), re.compile('^\\s+self\\.fail\\("I    fail"\\)$'), 'twisted.trial.unittest.FailTest:    I    fail', 'twisted.trial.test.erroneous.TestRegularFail.test_fail']
    self.stringComparison(match, output)
