We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ce9a78 commit 7261433Copy full SHA for 7261433
CHANGELOG.rst
@@ -1,6 +1,12 @@
1
Releases
2
========
3
4
+3.8.1 (2022-06-24)
5
+------------------
6
+
7
+* Fix regression caused by an explicit ``mock`` dependency in the code (`#298`_).
8
9
+.. _#298: https://github.com/pytest-dev/pytest-mock/issues/298
10
11
3.8.0 (2022-06-24)
12
------------------
src/pytest_mock/plugin.py
@@ -30,8 +30,7 @@
30
if sys.version_info[:2] > (3, 7):
31
AsyncMockType = unittest.mock.AsyncMock
32
else:
33
- import mock
34
- AsyncMockType = mock.AsyncMock
+ AsyncMockType = Any
35
36
37
class PytestMockWarning(UserWarning):
0 commit comments