Sourced from pytest-mock's releases.
v3.10.0
- Added new
mocker.stop(m)
method to stop specificmocker.patch
ormocker.spy
calls (#319).
Sourced from pytest-mock's changelog.
3.10.0 (2022-10-05)
- Added new
mocker.stop(m)
method to stop specificmocker.patch
ormocker.spy
calls ([#319](https://github.com/pytest-dev/pytest-mock/issues/319)
_)... _#319: pytest-dev/pytest-mock#319
3.9.0 (2022-09-28)
- Expose
NonCallableMagicMock
via themocker
fixture ([#318](https://github.com/pytest-dev/pytest-mock/issues/318)
_)... _#318: pytest-dev/pytest-mock#318
3.8.2 (2022-07-05)
- Fixed
AsyncMock
support for Python 3.7+ inmocker.async_stub
([#302](https://github.com/pytest-dev/pytest-mock/issues/302)
_)... _#302: pytest-dev/pytest-mock#302
3.8.1 (2022-06-24)
- Fixed regression caused by an explicit
mock
dependency in the code ([#298](https://github.com/pytest-dev/pytest-mock/issues/298)
_)... _#298: pytest-dev/pytest-mock#298
3.8.0 (2022-06-24)
- Add
MockerFixture.async_mock
method. Thanks@PerchunPak
_ for the PR ([#296](https://github.com/pytest-dev/pytest-mock/issues/296)
_)... _
@PerchunPak
: https://github.com/PerchunPak .. _#296: pytest-dev/pytest-mock#2963.7.0 (2022-01-28)
- Python 3.10 now officially supported.
- Dropped support for Python 3.6.
3.6.1 (2021-05-06)
- Fix
mocker.resetall()
when usingmocker.spy()
([#237](https://github.com/pytest-dev/pytest-mock/issues/237)
). Thanks@blaxter
for the report and@shadycuz
_ for the PR... _
@blaxter
: https://github.com/blaxter .. _@shadycuz
: https://github.com/shadycuz .. _#237: pytest-dev/pytest-mock#237
... (truncated)
6c03dfd
Release 3.10.0fbb5039
Implement selective un-spying and un-patching (#319)a1c7421
[pre-commit.ci] pre-commit autoupdate (#321)4f2703c
Add Python 3.11 support (#320)1e2001f
Merge pull request #318
from willfrey/patch-264a34f6
Update CHANGELOG for 3.9.04e31630
Add test for NonCallableMagicMock798f07e
[pre-commit.ci] pre-commit autoupdate (#317)247b9d4
Expose NonCallableMagicMock in MockerFixture0fd7fea
Update link to notes about usage as context manager (#313)