chore(deps): update dependency mock to v4.0.3 #147
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:
==4.0.1
->==4.0.3
Release Notes
testing-cabal/mock (mock)
v4.0.3
Compare Source
bpo-42532: Remove unexpected call of
__bool__
when passing aspec_arg
argument to a Mock.bpo-39966: Revert bpo-25597. :class:
unittest.mock.MagicMock
withwraps' set uses default return values for magic methods.
bpo-41877: Mock objects which are not unsafe will now raise an
AttributeError if an attribute with the prefix asert, aseert, or assrt is
accessed, in addition to this already happening for the prefixes assert or
assret.
bpo-40126: Fixed reverting multiple patches in unittest.mock. Patcher's
__exit__()
is now never called if its__enter__()
is failed.Returning true from
__exit__()
silences now the exception.v4.0.2
Compare Source
unittest.mock.AsyncMock.await_args_list
hascall objects in the order of awaited arguments instead of using
:attr:
unittest.mock.Mock.call_args
which has the last value of the call.Patch by Karthikeyan Singaravelan.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.
This PR was generated by Mend Renovate. View the repository job log.