Skip to content

Commit

Permalink
Drop iscoroutinefunction fallback function for unsupported python
Browse files Browse the repository at this point in the history
  • Loading branch information
jairhenrique committed Jul 23, 2023
1 parent d3a5f4d commit cdab3fc
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions vcr/cassette.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import inspect
import logging
import sys
from asyncio import iscoroutinefunction

import wrapt

Expand All @@ -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__)


Expand Down

0 comments on commit cdab3fc

Please sign in to comment.