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

Method new_future

Lib/test/test_asyncio/test_tasks.py:95–96  ·  view source on GitHub ↗
(self, loop)

Source from the content-addressed store, hash-verified

93 return self.__class__.Task(coro, loop=loop, name=name, context=context, eager_start=eager_start)
94
95 def new_future(self, loop):
96 return self.__class__.Future(loop=loop)
97
98 def setUp(self):
99 super().setUp()

Calls

no outgoing calls

Tested by

no test coverage detected