1 from __future__
import annotations
5 asyncio = pytest.importorskip(
"asyncio")
6 m = pytest.importorskip(
"pybind11_tests.async_module")
11 loop = asyncio.new_event_loop()
21 assert event_loop.run_until_complete(
get_await_result(m.SupportsAsync())) == 5
25 with pytest.raises(TypeError):