Try prevent to attr-defined mypy error

This commit is contained in:
Alex Root Junior 2020-01-11 21:33:45 +02:00
parent 8e5cb067df
commit 690223f4e0
5 changed files with 5 additions and 5 deletions

View file

@ -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: