Skip to content

Update pytest-mock to 3.8.1#165

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

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

Conversation

@pyup-bot

Copy link
Copy Markdown
Collaborator

This PR updates pytest-mock from 3.5.1 to 3.8.1.

Changelog

3.8.1

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

* Fix regression caused by an explicit ``mock`` dependency in the code (`298`_).

.. _298: https://github.com/pytest-dev/pytest-mock/issues/298

3.8.0

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

* Add ``MockerFixture.async_mock`` method. Thanks `PerchunPak`_ for the PR (`296`_).

.. _PerchunPak: https://github.com/PerchunPak
.. _296: https://github.com/pytest-dev/pytest-mock/pull/296

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 Jun 24, 2022

Copy link
Copy Markdown

Codecov Report

Merging #165 (33c9461) into master (b80bb2f) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #165   +/-   ##
=======================================
  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...33c9461. Read the comment docs.

@pyup-bot

Copy link
Copy Markdown
Collaborator Author

Closing this in favor of #184

@pyup-bot pyup-bot closed this Sep 28, 2022
@Ernanidacosta Ernanidacosta deleted the pyup-update-pytest-mock-3.5.1-to-3.8.1 branch September 28, 2022 15: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