Fix AiohttpClientMockResponse.release (#98458)

pull/98480/head
Erik Montnemery 2023-08-15 16:22:42 +02:00 committed by GitHub
parent 5dd3f05db8
commit 3de402bd15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -255,7 +255,7 @@ class AiohttpClientMockResponse:
"""Return mock response as a json."""
return loads(self.response.decode(encoding))
def release(self):
async def release(self):
"""Mock release."""
def raise_for_status(self):