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

Method test

Lib/test/test_asyncio/test_futures.py:173–174  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

171
172 def test_constructor_use_running_loop(self):
173 async def test():
174 return self._new_future()
175 f = self.loop.run_until_complete(test())
176 self.assertIs(f._loop, self.loop)
177 self.assertIs(f.get_loop(), self.loop)

Callers

nothing calls this directly

Calls 1

_new_futureMethod · 0.95

Tested by

no test coverage detected