MCPcopy
hub / github.com/pallets/werkzeug / test_proxy_await

Function test_proxy_await

tests/test_local.py:554–564  ·  tests/test_local.py::test_proxy_await
()

Source from the content-addressed store, hash-verified

552
553
554def 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
567def test_proxy_aiter():

Callers

nothing calls this directly

Calls 4

_make_proxyFunction · 0.85
getFunction · 0.85
mainFunction · 0.85
runMethod · 0.45

Tested by

no test coverage detected