def METHOD_NAME(test, failure):
    """
    Record that a test has failed with the given failure.
    @param test: The test that has failed.
    @param failure: The failure that the test failed with. It will
        either be a three-tuple in the style of C{sys.exc_info()}
        or a L{Failure<twisted.python.failure.Failure>} object.
    """