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

/gem5/ext/pybind11/tests/
H A Dtest_async.py7 def event_loop(): function
17 def test_await(event_loop):
18 assert 5 == event_loop.run_until_complete(get_await_result(m.SupportsAsync()))
21 def test_await_missing(event_loop):
23 event_loop.run_until_complete(get_await_result(m.DoesNotSupportAsync()))

Completed in 3 milliseconds