Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency pytest-mock to v1.13.0 #4

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 14, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
pytest-mock (changelog) 1.10.1 -> 1.13.0 age adoption passing confidence

Release Notes

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

v1.13.0

Compare Source

  • The object returned by mocker.spy now also tracks any side effect
    of the spied method/function.

v1.12.1

Compare Source

  • Fix error if mocker.patch is used in code where the source file
    is not available, for example stale .pyc files (#169_).

.. _#169:https://github.com/pytest-dev/pytest-mock/issues/169#issuecomment-5557292655

v1.12.0

Compare Source

  • Now all patch functions also raise a ValueError when used
    as a context-manager. Thanks @AlexGascon_ for the PR (#168_).

.. _@​AlexGascon: https://github.com/AlexGascon
.. https://github.com/pytest-dev/pytest-mock/pull/168pull/168

v1.11.2

Compare Source

  • The pytest introspection follows message is no longer shown
    if there is no pytest introspection (#154).
    Thanks @The-Compiler
    for the report.

  • mocker now raises a ValueError when used as a context-manager.
    Thanks @binarymason_ for the PR (#165_).

.. _#154:https://github.com/pytest-dev/pytest-mock/issues/1544
.. _#165https://github.com/pytest-dev/pytest-mock/pull/16565
.. _@​binarymason: https://github.com/binarymason

v1.11.1

Compare Source

  • Fix mocker.spy on Python 2 when used on non-function objects
    which implement __call__ (#157). Thanks @pbasista for
    the report.

.. _#157:https://github.com/pytest-dev/pytest-mock/issues/1577
.. _@​pbasista: https://github.com/pbasista

v1.11.0

Compare Source

  • The object returned by mocker.spy now also tracks the return value
    of the spied method/function.

v1.10.4

Compare Source

  • Fix plugin when 'terminal' plugin is disabled

v1.10.3

Compare Source

  • Fix test suite in Python 3.8. Thanks @hroncok_ for the report and @blueyed_ for the PR (#140_).

.. _#140:https://github.com/pytest-dev/pytest-mock/pull/1400
.. _@​hroncok: https://github.com/hroncok

v1.10.2

Compare Source

  • Fix bug at the end of the test session when a call to patch.stopall is done explicitly by
    user code. Thanks @craiga_ for the report (#137_).

.. _#137:https://github.com/pytest-dev/pytest-mock/issues/1377
.. _@​craiga: https://github.com/craiga


Configuration

📅 Schedule: Branch creation - "every weekend" in timezone US/Eastern, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/pytest-mock-1.x branch from ea6ef9e to f92d98f Compare April 16, 2024 03:00
@renovate renovate bot merged commit 7ac91a6 into master Apr 16, 2024
3 checks passed
@renovate renovate bot deleted the renovate/pytest-mock-1.x branch April 16, 2024 08:21
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.

0 participants