()
| 552 | |
| 553 | |
| 554 | def test_proxy_await(): |
| 555 | async def get(): |
| 556 | return 1 |
| 557 | |
| 558 | _, p = _make_proxy(get()) |
| 559 | |
| 560 | async def main(): |
| 561 | return await p |
| 562 | |
| 563 | out = asyncio.run(main()) |
| 564 | assert out == 1 |
| 565 | |
| 566 | |
| 567 | def test_proxy_aiter(): |
nothing calls this directly
no test coverage detected