From 558c7fc625e66775da11ee406001f300e6188fb2 Mon Sep 17 00:00:00 2001 From: Karolina Surma Date: Wed, 5 Feb 2025 16:57:16 +0100 Subject: [PATCH] Import iscoroutinefunction() from inspect rather than asyncio The asyncio function is deprecated starting from Python 3.14 and will be removed from Python 3.16. --- vcr/cassette.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcr/cassette.py b/vcr/cassette.py index c9f81a1..1ac06dd 100644 --- a/vcr/cassette.py +++ b/vcr/cassette.py @@ -3,7 +3,7 @@ import contextlib import copy import inspect import logging -from asyncio import iscoroutinefunction +from inspect import iscoroutinefunction import wrapt