This repository has been archived by the owner on Jul 5, 2024. 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:
==7.4.0
->==7.4.1
==3.5.1
->==3.11.1
==1.7.0
->==1.11.0
Release Notes
pytest-dev/pytest (pytest)
v7.4.1
: pytest 7.4.1 (2023-09-02)Compare Source
Bug Fixes
#10337: Fixed bug where fake intermediate modules generated by
--import-mode=importlib
would not include thechild modules as attributes of the parent modules.
#10702: Fixed error assertion handling in
pytest.approx
whenNone
is an expected or received value when comparing dictionaries.#10811: Fixed issue when using
--import-mode=importlib
together with--doctest-modules
that caused modulesto be imported more than once, causing problems with modules that have import side effects.
pytest-dev/pytest-mock (pytest-mock)
v3.11.1
Compare Source
(This release source code is identical to
3.11.0
except a small internal fix to deployment/CI)Fixed introspection for failed
assert_has_calls
(#365
_).Updated type annotations for
mocker.patch
andmocker.spy
(#364
_)... _#365:https://github.com/pytest-dev/pytest-mock/pull/3655
.. _#364https://github.com/pytest-dev/pytest-mock/pull/36464
v3.11.0
Compare Source
Fixed introspection for failed
assert_has_calls
(#365
_).Updated type annotations for
mocker.patch
andmocker.spy
(#364
_)... _#365:https://github.com/pytest-dev/pytest-mock/pull/3655
.. _#364https://github.com/pytest-dev/pytest-mock/pull/36464
v3.10.0
Compare Source
mocker.stop(m)
method to stop specificmocker.patch
ormocker.spy
calls (#319
_)... _#319:https://github.com/pytest-dev/pytest-mock/pull/3199
v3.9.0
Compare Source
NonCallableMagicMock
via themocker
fixture (#318
_)... _#318:https://github.com/pytest-dev/pytest-mock/pull/3188
v3.8.2
Compare Source
AsyncMock
support for Python 3.7+ inmocker.async_stub
(#302
_)... _#302:https://github.com/pytest-dev/pytest-mock/pull/3022
v3.8.1
Compare Source
mock
dependency in the code (#298
_)... _#298:https://github.com/pytest-dev/pytest-mock/issues/2988
v3.8.0
Compare Source
MockerFixture.async_mock
method. Thanks@PerchunPak
_ for the PR (#296
_)... _@PerchunPak: https://github.com/PerchunPak
.. https://github.com/pytest-dev/pytest-mock/pull/296pull/296
v3.7.0
Compare Source
v3.6.1
Compare Source
mocker.resetall()
when usingmocker.spy()
(#237
). Thanks@blaxter
for the report and@shadycuz
_ for the PR... _@blaxter: https://github.com/blaxter
.. _@shadycuz: https://github.com/shady[https://github.com/pytest-dev/pytest-mock/issues/237](https://togithub.com/pytest-dev/pytest-mock/issues/237)mock/issues/237
v3.6.0
Compare Source
pytest-mock no longer supports Python 3.5.
Correct type annotations for
mocker.patch.object
to also include the string form.Thanks
@plannigan
_ for the PR (#235
_).reset_all
now supportsreturn_value
andside_effect
keyword arguments. Thanks@alex-marty
_ for the PR (#214
_)... _@alex-marty: https://github.com/alex-marty
.. _@plannigan: https://github.com/planni[https://github.com/pytest-dev/pytest-mock/pull/214](https://togithub.com/pytest-dev/pytest-mock/pull/214)t-mock/pull[https://github.com/pytest-dev/pytest-mock/pull/235](https://togithub.com/pytest-dev/pytest-mock/pull/235)st-mock/pull/235
jamielennox/requests-mock (requests-mock)
v1.11.0
Compare Source
What's Changed
New Contributors
Full Changelog: jamielennox/requests-mock@1.10.0...1.11.0
v1.10.0
Compare Source
What's Changed
New Contributors
Full Changelog: jamielennox/requests-mock@1.9.3...1.10.0
v1.9.3
Compare Source
Minor improvement to typing annotations.
v1.9.2
Compare Source
v1.9.1
Compare Source
Bug Fix on 1.9.0 release:
v1.9.0
Compare Source
A number of small improvements:
v1.8.0
Compare Source
Solidifies the behaviour of nested mocking and the real_http variable.
Configuration
📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - "before 4am on Monday" (UTC).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.