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

Method foo

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

Source from the content-addressed store, hash-verified

2520 from _testcapi import awaitType as at
2521
2522 async def foo():
2523 future = at(iter([1]))
2524 return (await future)
2525
2526 self.assertEqual(foo().send(None), 1)
2527

Callers

nothing calls this directly

Calls 2

atFunction · 0.85
iterFunction · 0.85

Tested by

no test coverage detected