MCPcopy Create free account
hub / github.com/pybind/pybind11 / test_await

Function test_await

tests/test_async.py:25–26  ·  view source on GitHub ↗
(event_loop)

Source from the content-addressed store, hash-verified

23
24
25def test_await(event_loop):
26 assert event_loop.run_until_complete(get_await_result(m.SupportsAsync())) == 5
27
28
29def test_await_missing(event_loop):

Callers

nothing calls this directly

Calls 1

get_await_resultFunction · 0.85

Tested by

no test coverage detected