Skip to content

Commit df288c7

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 1e10990 commit df288c7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/test_init.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# pylint: disable=protected-access
22
"""Test Plugwise Home Assistant module and generate test JSON fixtures."""
3-
import asyncio
43
import importlib
54
import json
65

@@ -201,7 +200,7 @@ async def smile_http_ok(cls, request):
201200
@classmethod
202201
async def smile_timeout(cls, request):
203202
"""Render timeout endpoint."""
204-
raise asyncio.TimeoutError
203+
raise TimeoutError
205204

206205
@classmethod
207206
async def smile_broken(cls, request):

0 commit comments

Comments
 (0)