MCPcopy Index your code
hub / github.com/python/cpython / __iter__

Method __iter__

Lib/test/test_asyncio/test_futures.py:97–102  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

95 self.__exception = exception
96
97 def __iter__(self):
98 if not self.done():
99 self._asyncio_future_blocking = True
100 yield self
101 self.assertTrue(self.done())
102 return self.result()
103
104
105class DuckTests(test_utils.TestCase):

Callers 1

Calls 3

doneMethod · 0.95
resultMethod · 0.95
assertTrueMethod · 0.80

Tested by

no test coverage detected