def makeFailure():
    try:
        1/0
    except ZeroDivisionError:
        f = failure.Failure()
    return f
Return a new, realistic failure.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/trial/test/test_log.py/makeFailure