def makeTodo(value):
    if isinstance(value, str):
        return Todo(reason=value)
    if isinstance(value, tuple):
        errors, reason = value
        try:
            errors = list(errors)
        except TypeError:
            errors = [errors]
        return Todo(reason=reason, errors=errors)
Any EventualResult.wait() calls still waiting when the reactor has
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/trial/unittest.py/makeTodo--crossover with--dataset/ETHPy150Open itamarst/crochet/crochet/tests/test_api.py/EventualResultTests.test_reactor_stop_unblocks_EventualResult_in_threadpool