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).
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 :smile:)
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 https://github.com/pytest-dev/pytest-asyncio/blob/cf106746984664805fcff1a2f62cb421b2908560/pytest_asyncio/plugin.py#L179
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 :smile:)