chore(deps): update dependency pytest-mock to v3.15.1#5475
Merged
renovate[bot] merged 1 commit intomasterfrom Mar 1, 2026
Merged
chore(deps): update dependency pytest-mock to v3.15.1#5475renovate[bot] merged 1 commit intomasterfrom
renovate[bot] merged 1 commit intomasterfrom
Conversation
1c10e2a to
664ec3f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==3.6.1→==3.15.1Release Notes
pytest-dev/pytest-mock (pytest-mock)
v3.15.1Compare Source
2025-09-16
#​529 <https://github.com/pytest-dev/pytest-mock/issues/529>_: Fixeditertools._tee object has no attribute error-- nowduplicate_iterators=Truemust be passed tomocker.spyto duplicate iterators.v3.15.0Compare Source
2025-09-04
#​524 <https://github.com/pytest-dev/pytest-mock/pull/524>_: Addedspy_return_itertomocker.spy, which contains a duplicate of the return value of the spied method if it is anIterator.v3.14.1Compare Source
#​503 <https://github.com/pytest-dev/pytest-mock/pull/503>_: Python 3.14 is now officially supported.v3.14.0Compare Source
#​415 <https://github.com/pytest-dev/pytest-mock/pull/415>_:MockTypeandAsyncMockTypecan be imported frompytest_mockfor type annotation purposes.#​420 <https://github.com/pytest-dev/pytest-mock/issues/420>_: Fixed a regression which would causemocker.patch.objectto not being properly cleared between tests.v3.13.0Compare Source
#​417 <https://github.com/pytest-dev/pytest-mock/pull/417>_:spynow hasspy_return_list, which is a list containing all the values returned by the spied function.pytest-mocknow requirespytest>=6.2.5.#​410 <https://github.com/pytest-dev/pytest-mock/pull/410>: pytest-mock'ssetup.pyfile is removed.If you relied on this file, e.g. to install pytest using
setup.py install,please see
Why you shouldn't invoke setup.py directly <https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html#summary>for alternatives.v3.12.0Compare Source
mocker.resetall()now also resets mocks created bymocker.create_autospec(#390_)... _#390: #390
v3.11.1Compare Source
(This release source code is identical to
3.11.0except a small internal fix to deployment/CI)Fixed introspection for failed
assert_has_calls(#365_).Updated type annotations for
mocker.patchandmocker.spy(#364_)... _#365: #365
.. _#364: #364
v3.11.0Compare Source
Fixed introspection for failed
assert_has_calls(#365_).Updated type annotations for
mocker.patchandmocker.spy(#364_)... _#365: #365
.. _#364: #364
v3.10.0Compare Source
mocker.stop(m)method to stop specificmocker.patchormocker.spycalls (#319_)... _#319: #319
v3.9.0Compare Source
NonCallableMagicMockvia themockerfixture (#318_)... _#318: #318
v3.8.2Compare Source
AsyncMocksupport for Python 3.7+ inmocker.async_stub(#302_)... _#302: #302
v3.8.1Compare Source
mockdependency in the code (#298_)... _#298: #298
v3.8.0Compare Source
MockerFixture.async_mockmethod. Thanks@PerchunPak_ for the PR (#296_)... _@PerchunPak: https://github.com/PerchunPak
.. _#296: #296
v3.7.0Compare Source
Configuration
📅 Schedule: Branch creation - "every weekend" in timezone US/Eastern, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.