mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-09 01:03:24 +00:00
ClientResponse.release isn't a coroutine
Therefore it should not be one in the MockClientResponse class.
d0af887e31/aiohttp/client_reqrep.py (L832)
This commit is contained in:
@@ -34,7 +34,7 @@ class MockClientResponse(ClientResponse):
|
|||||||
async def read(self):
|
async def read(self):
|
||||||
return self._body
|
return self._body
|
||||||
|
|
||||||
async def release(self):
|
def release(self):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user