mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Fix aiohttp test RuntimeWarning (#98568)
This commit is contained in:
parent
e95979e9af
commit
529bc507a0
@ -109,7 +109,7 @@ class BrData:
|
||||
return result
|
||||
finally:
|
||||
if resp is not None:
|
||||
await resp.release()
|
||||
resp.release()
|
||||
|
||||
async def _async_update(self):
|
||||
"""Update the data from buienradar."""
|
||||
|
@ -255,7 +255,7 @@ class AiohttpClientMockResponse:
|
||||
"""Return mock response as a json."""
|
||||
return loads(self.response.decode(encoding))
|
||||
|
||||
async def release(self):
|
||||
def release(self):
|
||||
"""Mock release."""
|
||||
|
||||
def raise_for_status(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user