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

Method coro2

Lib/test/test_asyncio/test_events.py:280–282  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

278 await asyncio.sleep(0)
279
280 async def coro2():
281 self.assertTrue(self.loop.is_running())
282 self.loop.run_until_complete(coro1())
283
284 with self.assertWarnsRegex(
285 RuntimeWarning,

Callers

nothing calls this directly

Calls 3

assertTrueMethod · 0.80
is_runningMethod · 0.45
run_until_completeMethod · 0.45

Tested by

no test coverage detected