- Add asyncio_mode = "auto"' to pyproject.toml in spec file (gh#kivy/kivy#9245) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Kivy?expand=0&rev=73
14 lines
605 B
Diff
14 lines
605 B
Diff
Index: kivy-2.3.1/kivy/tests/common.py
|
|
===================================================================
|
|
--- kivy-2.3.1.orig/kivy/tests/common.py
|
|
+++ kivy-2.3.1/kivy/tests/common.py
|
|
@@ -498,7 +498,7 @@ def async_run(func=None, app_cls_func=No
|
|
if kivy_eventloop == 'asyncio':
|
|
try:
|
|
import pytest_asyncio
|
|
- return pytest.mark.asyncio(pytest_asyncio.fixture(func))
|
|
+ return pytest.mark.asyncio(func)
|
|
except ImportError:
|
|
return pytest.mark.skip(
|
|
reason='KIVY_EVENTLOOP == "asyncio" but '
|