MCPcopy Index your code
hub / github.com/RustPython/RustPython / coro2

Method coro2

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

Source from the content-addressed store, hash-verified

279 await asyncio.sleep(0)
280
281 async def coro2():
282 self.assertTrue(self.loop.is_running())
283 self.loop.run_until_complete(coro1())
284
285 with self.assertWarnsRegex(
286 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