'``twisted.trial.unittest.TestCase.assertFailure``-alike.
This is not completely compatible.  ``assert_fails_with`` should be
preferred for new code.'

def assertFailure(self, deferred, exception):

    return assert_fails_with(deferred, exception)
