Skip to content

Commit 33b9d3c

Browse files
committed
fix: use python 3.7 compatible AsyncMock
1 parent c1d2752 commit 33b9d3c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

test/ably/rest/encoders_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
if sys.version_info >= (3, 8):
1616
from unittest.mock import AsyncMock
1717
else:
18-
from unittest.mock import AsyncMock
18+
from mock import AsyncMock
1919

2020
log = logging.getLogger(__name__)
2121

test/ably/rest/restauth_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
if sys.version_info >= (3, 8):
2020
from unittest.mock import AsyncMock
2121
else:
22-
from unittest.mock import AsyncMock
22+
from mock import AsyncMock
2323

2424
log = logging.getLogger(__name__)
2525

0 commit comments

Comments
 (0)