Skip to content

Update pytest-mock to 3.9.0#184

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

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

Conversation

@pyup-bot

Copy link
Copy Markdown
Collaborator

This PR updates pytest-mock from 3.5.1 to 3.9.0.

Changelog

3.9.0

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

* Expose ``NonCallableMagicMock`` via the ``mocker`` fixture (`318`_).

.. _318: https://github.com/pytest-dev/pytest-mock/pull/318

3.8.2

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

- Fixed ``AsyncMock`` support for Python 3.7+ in ``mocker.async_stub`` (`302`_).

.. _302: https://github.com/pytest-dev/pytest-mock/pull/302

3.8.1

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

* Fixed 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 Sep 28, 2022

Copy link
Copy Markdown

Codecov Report

Merging #184 (b6d31c1) into master (b80bb2f) will not change coverage.
The diff coverage is n/a.

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

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@pyup-bot

Copy link
Copy Markdown
Collaborator Author

Closing this in favor of #245

@pyup-bot pyup-bot closed this Oct 19, 2023
@Ernanidacosta Ernanidacosta deleted the pyup-update-pytest-mock-3.5.1-to-3.9.0 branch October 19, 2023 17:50
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