aports/testing/py3-fire/0001-Fix-Python3.11-tests.patch
2023-04-24 13:46:13 +00:00

17 lines
369 B
Diff

diff --git a/fire/test_components_py3.py b/fire/test_components_py3.py
index 5140921..9c76ca5 100644
--- a/fire/test_components_py3.py
+++ b/fire/test_components_py3.py
@@ -56,9 +56,8 @@ def lru_cache_decorated(arg1):
class WithAsyncio(object):
-
- @asyncio.coroutine
- def double(self, count=0):
+
+ async def double(self, count=0):
return 2 * count