This repository has been archived by the owner on Nov 2, 2021. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==1.10.4
->==1.13.0
Release Notes
pytest-dev/pytest-mock
v1.13.0
Compare Source
mocker.spy
now also tracks any side effectof the spied method/function.
v1.12.1
Compare Source
mocker.patch
is used in code where the source fileis not available, for example stale
.pyc
files (#169
_)... _#̴https://github.com/pytest-dev/pytest-mock/issues/169#issuecomment-5557292655729265
v1.12.0
Compare Source
ValueError
when usedas 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 aValueError
when used as a context-manager.Thanks
@binarymason
_ for the PR (#165
_)... _#̴https://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
mocker.spy
on Python 2 when used on non-function objectswhich implement
__call__
(#157
). Thanks@pbasista
forthe report.
.. _#̴https://github.com/pytest-dev/pytest-mock/issues/157ues/157
.. _@pbasista: https://github.com/pbasista
v1.11.0
Compare Source
mocker.spy
now also tracks the return valueof 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.
This PR has been generated by WhiteSource Renovate. View repository job log here.