Skip to content

Update pytest-mock to 3.7.0#149

Closed
pyup-bot wants to merge 1 commit into
masterfrom
pyup-update-pytest-mock-3.5.1-to-3.7.0
Closed

Update pytest-mock to 3.7.0#149
pyup-bot wants to merge 1 commit into
masterfrom
pyup-update-pytest-mock-3.5.1-to-3.7.0

Conversation

@pyup-bot

Copy link
Copy Markdown
Collaborator

This PR updates pytest-mock from 3.5.1 to 3.7.0.

Changelog

3.7.0

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

* Python 3.10 now officially supported.
* Dropped support for Python 3.6.

3.6.1

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

* Fix ``mocker.resetall()`` when using ``mocker.spy()`` (`237`_). Thanks `blaxter`_ for the report and `shadycuz`_ for the PR.

.. _blaxter: https://github.com/blaxter
.. _shadycuz: https://github.com/shadycuz
.. _237: https://github.com/pytest-dev/pytest-mock/issues/237

3.6.0

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

* pytest-mock no longer supports Python 3.5.

* Correct type annotations for ``mocker.patch.object`` to also include the string form.
Thanks `plannigan`_ for the PR (`235`_).

* ``reset_all`` now supports ``return_value`` and ``side_effect`` keyword arguments. Thanks `alex-marty`_ for the PR (`214`_).

.. _alex-marty: https://github.com/alex-marty
.. _plannigan: https://github.com/plannigan
.. _214: https://github.com/pytest-dev/pytest-mock/pull/214
.. _235: https://github.com/pytest-dev/pytest-mock/pull/235
Links

@codecov

codecov Bot commented Jan 28, 2022

Copy link
Copy Markdown

Codecov Report

Merging #149 (6a6d162) into master (b80bb2f) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #149   +/-   ##
=======================================
  Coverage   96.12%   96.12%           
=======================================
  Files          12       12           
  Lines         129      129           
=======================================
  Hits          124      124           
  Misses          5        5           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b80bb2f...6a6d162. Read the comment docs.

@pyup-bot

Copy link
Copy Markdown
Collaborator Author

Closing this in favor of #165

@pyup-bot pyup-bot closed this Jun 24, 2022
@Ernanidacosta Ernanidacosta deleted the pyup-update-pytest-mock-3.5.1-to-3.7.0 branch June 24, 2022 21:02
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