def test_connect_deferred(self):
        er = EventualResult(None, None)
        self.assertRaises(TimeoutError, er.wait, 0)
        d = Deferred()
        er._connect_deferred(d)
        self.assertRaises(TimeoutError, er.wait, 0)
        d.callback(123)
        self.assertEqual(er.wait(), 123)
If an EventualResult is created with None,
dataset/ETHPy150Open itamarst/crochet/crochet/tests/test_api.py/EventualResultTests.test_connect_deferred