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

Function main

tests/test_local.py:68–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66 values.append(ns.foo)
67
68 async def main():
69 futures = [asyncio.ensure_future(value_setter(i)) for i in [1, 2, 3]]
70 await asyncio.gather(*futures)
71
72 asyncio.run(main())
73 assert sorted(values) == [1, 2, 3]

Callers 5

test_basic_local_asyncioFunction · 0.85
test_local_stack_asyncioFunction · 0.85
test_proxy_awaitFunction · 0.85
test_proxy_aiterFunction · 0.85

Calls 3

value_setterFunction · 0.85
taskFunction · 0.85
appendMethod · 0.80

Tested by

no test coverage detected