def execute(callable, *args, **kw):
    try:
        result = callable(*args, **kw)
    except:
        return fail()
    else:
        return succeed(result)
Return a mock for method *method_name* on *cls* where the patch is
dataset/ETHPy150Open twisted/twisted/twisted/internet/defer.py/execute--crossover with--dataset/ETHPy150Open python-openxml/python-docx/tests/unitutil/mock.py/method_mock