Skip to content

Conversation

@pyup-bot
Copy link
Collaborator

@pyup-bot pyup-bot commented Jan 4, 2021

This PR updates pytest-mock from 3.4.0 to 3.5.0.

Changelog

3.5.0

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

* Now all patch functions will emit a warning instead of raising a ``ValueError`` when used
as a context-manager. Thanks `iforapsy`_ for the PR (`221`_).

* Additionally, ``mocker.patch.context_manager`` is available when the user intends to mock
a context manager (for example  ``threading.Lock`` object), which will not emit that
warning.

.. _iforapsy: https://github.com/iforapsy
.. _221: https://github.com/pytest-dev/pytest-mock/pull/221
Links

@pyup-bot
Copy link
Collaborator Author

Closing this in favor of #66

@pyup-bot pyup-bot closed this Jan 11, 2021
@limberger limberger deleted the pyup-update-pytest-mock-3.4.0-to-3.5.0 branch January 11, 2021 00:03
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.

2 participants