Searched refs:SupportsAsync (Results 1 - 2 of 2) sorted by relevance

/gem5/ext/pybind11/tests/
H A Dtest_async.cpp16 struct SupportsAsync {}; struct
17 py::class_<SupportsAsync>(m, "SupportsAsync")
19 .def("__await__", [](const SupportsAsync& self) -> py::object {
H A Dtest_async.py18 assert 5 == event_loop.run_until_complete(get_await_result(m.SupportsAsync()))

Completed in 8 milliseconds