μHAL (v2.8.17)
Part of the IPbus software repository
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Functions | Variables
test_async Namespace Reference

Functions

def event_loop ()
 
def get_await_result (x)
 
def test_await (event_loop)
 
def test_await_missing (event_loop)
 

Variables

 asyncio = pytest.importorskip("asyncio")
 
 m = pytest.importorskip("pybind11_tests.async_module")
 

Function Documentation

◆ event_loop()

def test_async.event_loop ( )

Definition at line 9 of file test_async.py.

◆ get_await_result()

def test_async.get_await_result (   x)

Definition at line 15 of file test_async.py.

Referenced by test_await(), and test_await_missing().

◆ test_await()

def test_async.test_await (   event_loop)

Definition at line 19 of file test_async.py.

References get_await_result().

◆ test_await_missing()

def test_async.test_await_missing (   event_loop)

Definition at line 23 of file test_async.py.

References get_await_result().

Variable Documentation

◆ asyncio

test_async.asyncio = pytest.importorskip("asyncio")

Definition at line 4 of file test_async.py.

◆ m

test_async.m = pytest.importorskip("pybind11_tests.async_module")

Definition at line 5 of file test_async.py.