chore(deps): update dependency pytest-mock to v3.14.0
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
pytest-mock (changelog) | dev-dependencies | minor |
3.10.0 -> 3.14.0
|
Release Notes
pytest-dev/pytest-mock (pytest-mock)
v3.14.0
-
#​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
-
#​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 usingsetup.py install
, please seeWhy you shouldn't invoke setup.py directly <https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html#summary>
* for alternatives.
v3.12.0
- Added support for Python 3.12.
- Dropped support for EOL Python 3.7.
-
mocker.resetall()
now also resets mocks created bymocker.create_autospec
(#390
_).
.. _#390: https://github.com/pytest-dev/pytest-mock/pull/390
v3.11.1
(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/365 .. _#364: https://github.com/pytest-dev/pytest-mock/pull/364
v3.11.0
-
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/365 .. _#364: https://github.com/pytest-dev/pytest-mock/pull/364
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.