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

Method coro

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

Source from the content-addressed store, hash-verified

108
109 def test_task_cancel_message_getter(self):
110 async def coro():
111 pass
112 t = self.new_task(self.loop, coro())
113 self.assertHasAttr(t, '_cancel_message')
114 self.assertEqual(t._cancel_message, None)

Callers

nothing calls this directly

Calls 15

new_taskMethod · 0.95
sleepFunction · 0.85
assertIsInstanceMethod · 0.80
nestedFunction · 0.50
innerFunction · 0.50
sleepMethod · 0.45
cancelMethod · 0.45
waitMethod · 0.45
resultMethod · 0.45
exceptionMethod · 0.45
call_soonMethod · 0.45
set_resultMethod · 0.45

Tested by

no test coverage detected