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