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

Method test

Lib/test/test_asyncio/test_tasks.py:166–167  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

164 def test_task_awaits_on_itself(self):
165
166 async def test():
167 await task
168
169 task = asyncio.ensure_future(test(), loop=self.loop)
170

Callers

nothing calls this directly

Calls 11

listClass · 0.85
runnerFunction · 0.85
setFunction · 0.85
advance_timeMethod · 0.80
assertEqualMethod · 0.45
assertAlmostEqualMethod · 0.45
timeMethod · 0.45
waitMethod · 0.45
resultMethod · 0.45
gatherMethod · 0.45
sleepMethod · 0.45

Tested by

no test coverage detected