Skip to content

Commit

Permalink
Update aioresponses/core.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hadrien authored Jan 12, 2021
1 parent 269ae37 commit e691292
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion aioresponses/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@
normalize_url,
)
if AIOHTTP_VERSION >= StrictVersion('3.1.0'):
from aiohttp import RequestInfo
try:
from aiohttp import RequestInfo
except ImportError:
RequestInfo = Mock()


class CallbackResult:
Expand Down

0 comments on commit e691292

Please sign in to comment.