def test_deferred_failure_result(self):
        passthrough = self.make_wrapped_function()
        result = passthrough(fail(ZeroDivisionError()))
        self.assertIsInstance(result, EventualResult)
        self.assertRaises(ZeroDivisionError, result.wait)
If the underlying function returns a Deferred, the wrapper returns a
dataset/ETHPy150Open itamarst/crochet/crochet/tests/test_api.py/RunInReactorTests.test_deferred_failure_result