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

Method f

Lib/test/test_asyncio/test_runners.py:303–305  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

301
302 def test_run(self):
303 async def f():
304 await asyncio.sleep(0)
305 return 'done'
306
307 with asyncio.Runner() as runner:
308 self.assertEqual('done', runner.run(f()))

Callers

nothing calls this directly

Calls 6

gFunction · 0.50
sleepMethod · 0.45
appendMethod · 0.45
getMethod · 0.45
setMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected