Closed
Description
asyncio.iscoroutinefunction
is the same as inspect.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 😄)