mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-11 18:01:04 +00:00
Try prevent to attr-defined mypy error
This commit is contained in:
parent
8e5cb067df
commit
690223f4e0
5 changed files with 5 additions and 5 deletions
|
|
@ -7,7 +7,7 @@ from aiogram.api.methods import GetMe
|
|||
try:
|
||||
from asynctest import CoroutineMock, patch
|
||||
except ImportError:
|
||||
from unittest.mock import AsyncMock as CoroutineMock, patch
|
||||
from unittest.mock import AsyncMock as CoroutineMock, patch # type: ignore
|
||||
|
||||
|
||||
class TestBaseBot:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue