Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 12, 2021

This PR contains the following updates:

Package Change Age Confidence
pytest-mock (changelog) ==1.13.0 -> ==2.0.0 age confidence

⚠️ MAJOR MAJOR MAJOR ⚠️


Release Notes

pytest-dev/pytest-mock (pytest-mock)

v2.0.0

Compare Source

Breaking Changes
++++++++++++++++

  • mocker.spy attributes for tracking returned values and raised exceptions of its spied functions
    are now called spy_return and spy_exception, instead of reusing the existing
    MagicMock attributes return_value and side_effect.

    Version 1.13 introduced a serious regression: after a spied function using mocker.spy
    raises an exception, further calls to the spy will not call the spied function,
    always raising the first exception instead: assigning to side_effect causes
    unittest.mock to behave this way (#175_).

  • The deprecated mock alias to the mocker fixture has finally been removed.

.. _#175: #​175


Configuration

📅 Schedule: Branch creation - "after 10:30 before 18:00 every weekday except after 13:00 before 14:00" in timezone America/Lima, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Nov 12, 2021
@renovate renovate bot force-pushed the renovate/pytest-mock-2.x branch from bdd6340 to 13455aa Compare November 12, 2021 19:40
@renovate renovate bot changed the title ci(deps): Update dependency pytest-mock to v2 ci(deps): ci(deps): Update dependency pytest-mock to v2 Jun 27, 2022
@renovate renovate bot changed the title ci(deps): ci(deps): Update dependency pytest-mock to v2 ci(deps): Update dependency pytest-mock to v2 Jun 28, 2022
@renovate renovate bot force-pushed the renovate/pytest-mock-2.x branch from 13455aa to fd993d8 Compare March 17, 2023 05:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants