From 1d8a137893222b977fc23764ad6e56293cf83a32 Mon Sep 17 00:00:00 2001 From: Hai Zhu <35182391+cocolato@users.noreply.github.com> Date: Wed, 3 Jan 2024 04:25:30 +0800 Subject: [PATCH] remove asyncio.coroutine (#440) --- fire/test_components_py3.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fire/test_components_py3.py b/fire/test_components_py3.py index 5140921d..17fb932c 100644 --- a/fire/test_components_py3.py +++ b/fire/test_components_py3.py @@ -57,8 +57,7 @@ def lru_cache_decorated(arg1): class WithAsyncio(object): - @asyncio.coroutine - def double(self, count=0): + async def double(self, count=0): return 2 * count