Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit 0983f41

Browse files
committed
Fixed AsyncMock issue in Python 3.7
1 parent 57ecce0 commit 0983f41

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/unit/admin_overlay/test_async_consistency.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
# try/except added for compatibility with python < 3.8
1717
try:
1818
from unittest import mock
19+
from unittest.mock import AsyncMock # pragma: NO COVER
1920
except ImportError: # pragma: NO COVER
2021
import mock
2122

0 commit comments

Comments
 (0)