Skip to content
This repository has been archived by the owner on Nov 2, 2021. It is now read-only.

Update dependency pytest-mock to v1.13.0 #22

Merged
merged 2 commits into from
Aug 27, 2021
Merged

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Aug 27, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
pytest-mock ==1.10.4 -> ==1.13.0 age adoption passing confidence

Release Notes

pytest-dev/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_).

.. _#&#820https://github.com/pytest-dev/pytest-mock/issues/169#issuecomment-5557292655729265

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/168](https://togithub.com/pytest-dev/pytest-mock/pull/168)-mock/pull/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_).

.. _#&#820https://github.com/pytest-dev/pytest-mock/issues/154ues/154
.. [https://github.com/pytest-dev/pytest-mock/pull/165](https://togithub.com/pytest-dev/pytest-mock/pull/165)-mock/pull/165
.. _@​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.

.. _#&#820https://github.com/pytest-dev/pytest-mock/issues/157ues/157
.. _@​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.

Configuration

📅 Schedule: At any time (no schedule defined).

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

Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.

🔕 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 WhiteSource Renovate. View repository job log here.

@CapedHero CapedHero merged commit e39423f into main Aug 27, 2021
@CapedHero CapedHero deleted the renovate/pytest-mock-1.x branch August 27, 2021 09:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants