@pytest.fixture
async def async_kivy_app(request, _app_release_list, _app_release, _nursery, _event_loop) -> AsyncUnitApp:
    'Fixture yielding a :class:`~pytest_kivy.app.AsyncUnitApp` using\n    trio or asyncio as backend for the async library, depending on\n    KIVY_EVENTLOOP.\n\n    If using trio, pytest-trio and trio must be installed, and\n    ``trio_mode = true`` must be set in pytest.ini. If using asyncio,\n    pytest-asyncio must be installed.\n    '
    (cls, kwargs, app_cls, app_list) = _get_request_config(request, _app_release_list, _app_release)
    async with cls(nursery=_nursery, event_loop=_event_loop, async_lib=_async_lib, **kwargs) as app:
        if (app_list is not None):
            app_list.append((weakref.ref(app), weakref.ref(request)))
        if (app_cls is not None):
            (await app(app_cls))
        app.raise_startup_exception()
        (yield app)
        (await app.wait_stop_app())
Fixture yielding a :class:`~pytest_kivy.app.AsyncUnitApp` using
trio or asyncio as backend for the async library, depending on
KIVY_EVENTLOOP.

If using trio, pytest-trio and trio must be installed, and
``trio_mode = true`` must be set in pytest.ini. If using asyncio,
pytest-asyncio must be installed.
@pytest.fixture
async def async_kivy_app(request, _app_release_list, _app_release, _nursery, _event_loop) -> AsyncUnitApp:
    'Fixture yielding a :class:`~pytest_kivy.app.AsyncUnitApp` using\n    trio or asyncio as backend for the async library, depending on\n    KIVY_EVENTLOOP.\n\n    If using trio, pytest-trio and trio must be installed, and\n    ``trio_mode = true`` must be set in pytest.ini. If using asyncio,\n    pytest-asyncio must be installed.\n    '
    (cls, kwargs, app_cls, app_list) = _get_request_config(request, _app_release_list, _app_release)
    async with cls(nursery=_nursery, event_loop=_event_loop, async_lib=_async_lib, **kwargs) as app:
        if (app_list is not None):
            app_list.append((weakref.ref(app), weakref.ref(request)))
        if (app_cls is not None):
            (await app(app_cls))
        app.raise_startup_exception()
        (yield app)
        (await app.wait_stop_app())