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

Method foo

Lib/test/test_coroutines.py:533–534  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

531
532 def test_func_1(self):
533 async def foo():
534 return 10
535
536 f = foo()
537 self.assertIsInstance(f, types.CoroutineType)

Callers

nothing calls this directly

Calls 13

AsyncYieldFromClass · 0.85
identFunction · 0.85
genFunction · 0.70
AwaitableClass · 0.70
wrapFunction · 0.70
ManagerClass · 0.70
CMClass · 0.70
AIClass · 0.70
AIterClass · 0.70
barFunction · 0.50
bMethod · 0.45
assertIsMethod · 0.45

Tested by

no test coverage detected