Use of deprecated asyncio.iscoroutinefunction
#929
Labels
Milestone
asyncio.iscoroutinefunction
#929
asyncio.iscoroutinefunction
is the same asinspect.iscoroutinefunction
(since it's conception, I think), and is deprecated on 3.14 (IIRC, the plan is to remove it in 3.16).It's used in a few places, such as here
pytest-asyncio/pytest_asyncio/plugin.py
Line 179 in cf10674
I have a PR ready to switch things over to
inspect.iscoroutinefunction
-- since they're exactly the same, this won't break anything (and saves you guys a headache a few years down the line 😄)The text was updated successfully, but these errors were encountered: