Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ run
Method
run
Lib/test/test_asyncio/test_runners.py:339–340 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
337
338
@staticmethod
339
async
def
run():
340
return
'done'
341
342
with
asyncio.Runner()
as
runner:
343
self.assertEqual(
'done'
, runner.run(MyAwaitable()))
Callers
15
__await__
Method · 0.95
test_asyncio_run_return
Method · 0.45
test_asyncio_run_raises
Method · 0.45
test_asyncio_run_only_coro
Method · 0.45
test_asyncio_run_debug
Method · 0.45
main
Method · 0.45
test_asyncio_run_from_running_loop
Method · 0.45
test_asyncio_run_cancels_hanging_tasks
Method · 0.45
test_asyncio_run_reports_hanging_tasks_errors
Method · 0.45
test_asyncio_run_closes_gens_after_hanging_tasks_errors
Method · 0.45
test_asyncio_run_set_event_loop
Method · 0.45
test_asyncio_run_without_uncancel
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected