Т
Size: a a a
Т
Т
<Ч
python -m pytest .
ImportError while importing test module 'C:\Users\Lab_pc\Documents\GitHub\aiogram\tests\test_bot\test_session.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests\test_bot\test_session.py:8: in <module>
from asynctest import CoroutineMock, patch
E ModuleNotFoundError: No module named 'asynctest'
During handling of the above exception, another exception occurred:
tests\test_bot\test_session.py:10: in <module>
from unittest.mock import AsyncMock as CoroutineMock, patch # type: ignore
E ImportError: cannot import name 'AsyncMock' from 'unittest.mock' (C:\Program Files\Python37\lib\unittest\mock.py)
<Ч
E
ImportError while importing test module 'C:\Users\Lab_pc\Documents\GitHub\aiogram\tests\test_bot\test_session.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests\test_bot\test_session.py:8: in <module>
from asynctest import CoroutineMock, patch
E ModuleNotFoundError: No module named 'asynctest'
During handling of the above exception, another exception occurred:
tests\test_bot\test_session.py:10: in <module>
from unittest.mock import AsyncMock as CoroutineMock, patch # type: ignore
E ImportError: cannot import name 'AsyncMock' from 'unittest.mock' (C:\Program Files\Python37\lib\unittest\mock.py)
E
Т
Т
🔥M
<Ч
<Ч
Т
F
T
T
F