diff --git a/vcr/cassette.py b/vcr/cassette.py index 69c5575f..1b8b1f2a 100644 --- a/vcr/cassette.py +++ b/vcr/cassette.py @@ -4,6 +4,7 @@ import inspect import logging import sys +from asyncio import iscoroutinefunction import wrapt @@ -16,14 +17,6 @@ from .serializers import yamlserializer from .util import partition_dict -try: - from asyncio import iscoroutinefunction -except ImportError: - - def iscoroutinefunction(*args, **kwargs): - return False - - log = logging.getLogger(__name__)