3 asyncio = pytest.importorskip(
"asyncio")
4 m = pytest.importorskip(
"pybind11_tests.async_module")
9 loop = asyncio.new_event_loop()
19 assert 5 == event_loop.run_until_complete(
get_await_result(m.SupportsAsync()))
23 with pytest.raises(TypeError):
def test_await_missing(event_loop)
def test_await(event_loop)