Update dependency pytest-mock to v3.14.0 #130
Open
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.7.0
->3.14.0
Release Notes
pytest-dev/pytest-mock (pytest-mock)
v3.14.0
Compare Source
#​415 <https://github.com/pytest-dev/pytest-mock/pull/415>
_:MockType
andAsyncMockType
can be imported frompytest_mock
for type annotation purposes.#​420 <https://github.com/pytest-dev/pytest-mock/issues/420>
_: Fixed a regression which would causemocker.patch.object
to not being properly cleared between tests.v3.13.0
Compare Source
#​417 <https://github.com/pytest-dev/pytest-mock/pull/417>
_:spy
now hasspy_return_list
, which is a list containing all the values returned by the spied function.pytest-mock
now requirespytest>=6.2.5
.#​410 <https://github.com/pytest-dev/pytest-mock/pull/410>
: pytest-mock'ssetup.py
file 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.0
Compare Source
mocker.resetall()
now also resets mocks created bymocker.create_autospec
(#390
_)... _#390:https://github.com/pytest-dev/pytest-mock/pull/3900
v3.11.1
Compare Source
(This release source code is identical to
3.11.0
except a small internal fix to deployment/CI)Fixed introspection for failed
assert_has_calls
(#365
_).Updated type annotations for
mocker.patch
andmocker.spy
(#364
_)... _#365:https://github.com/pytest-dev/pytest-mock/pull/3655
.. _#364https://github.com/pytest-dev/pytest-mock/pull/36464
v3.11.0
Compare Source
Fixed introspection for failed
assert_has_calls
(#365
_).Updated type annotations for
mocker.patch
andmocker.spy
(#364
_)... _#365:https://github.com/pytest-dev/pytest-mock/pull/3655
.. _#364https://github.com/pytest-dev/pytest-mock/pull/36464
v3.10.0
Compare Source
mocker.stop(m)
method to stop specificmocker.patch
ormocker.spy
calls (#319
_)... _#319:https://github.com/pytest-dev/pytest-mock/pull/3199
v3.9.0
Compare Source
NonCallableMagicMock
via themocker
fixture (#318
_)... _#318:https://github.com/pytest-dev/pytest-mock/pull/3188
v3.8.2
Compare Source
AsyncMock
support for Python 3.7+ inmocker.async_stub
(#302
_)... _#302:https://github.com/pytest-dev/pytest-mock/pull/3022
v3.8.1
Compare Source
mock
dependency in the code (#298
_)... _#298:https://github.com/pytest-dev/pytest-mock/issues/2988
v3.8.0
Compare Source
MockerFixture.async_mock
method. Thanks@PerchunPak
_ for the PR (#296
_)... _@PerchunPak: https://github.com/PerchunPak
.. https://github.com/pytest-dev/pytest-mock/pull/296pull/296
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.