Skip to content

Commit

Permalink
Fix import error
Browse files Browse the repository at this point in the history
  • Loading branch information
Shutgun committed Oct 7, 2020
1 parent 8bd04e9 commit 73f37a6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/test_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import zeroconf

try:
from mock import AsyncMock
from unittest.mock import AsyncMock
except ImportError:
from asynctest import CoroutineMock as AsyncMock

Expand Down
2 changes: 1 addition & 1 deletion tests/test_deviceapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from httpx import AsyncClient, Client, Response

try:
from mock import AsyncMock
from unittest.mock import AsyncMock
except ImportError:
from asynctest import CoroutineMock as AsyncMock

Expand Down
2 changes: 1 addition & 1 deletion tests/test_plcnetapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from httpx import AsyncClient, Client, Response

try:
from mock import AsyncMock
from unittest.mock import AsyncMock
except ImportError:
from asynctest import CoroutineMock as AsyncMock

Expand Down

0 comments on commit 73f37a6

Please sign in to comment.