Skip to content

Update pytest-mock to 3.14.0#628

Open
pyup-bot wants to merge 1 commit intomasterfrom
pyup-update-pytest-mock-3.12.0-to-3.14.0
Open

Update pytest-mock to 3.14.0#628
pyup-bot wants to merge 1 commit intomasterfrom
pyup-update-pytest-mock-3.12.0-to-3.14.0

Conversation

@pyup-bot
Copy link
Copy Markdown
Collaborator

This PR updates pytest-mock from 3.12.0 to 3.14.0.

Changelog

3.14.0

-------------------

* `415 <https://github.com/pytest-dev/pytest-mock/pull/415>`_: ``MockType`` and ``AsyncMockType`` can be imported from ``pytest_mock`` for type annotation purposes.

* `420 <https://github.com/pytest-dev/pytest-mock/issues/420>`_: Fixed a regression which would cause ``mocker.patch.object`` to not being properly cleared between tests.

3.13.0

-------------------

* `417 <https://github.com/pytest-dev/pytest-mock/pull/417>`_: ``spy`` now has ``spy_return_list``, which is a list containing all the values returned by the spied function.
* ``pytest-mock`` now requires ``pytest>=6.2.5``.
* `410 <https://github.com/pytest-dev/pytest-mock/pull/410>`_: pytest-mock's ``setup.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.
Links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant