Skip to content

chore(deps): update dependency pytest-mock to v3.16.0 - #283

Merged
dpieski merged 1 commit into
mainfrom
renovate/pytest-mock-3.x
Sep 28, 2026
Merged

dpieski merged 1 commit into
mainfrom
renovate/pytest-mock-3.x

Conversation

@renovate

@renovate renovate Bot commented Sep 27, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
pytest-mock (changelog) ==3.15.1 → ==3.16.0 age adoption passing confidence

Release Notes

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

v3.16.0

Compare Source

2026-09-27

  • #&#8203;604 <https://github.com/pytest-dev/pytest-mock/pull/604>_: Fixed duplicate_iterators=True for async functions spied with mocker.spy.
  • #&#8203;611 <https://github.com/pytest-dev/pytest-mock/pull/611>_: Fixed async mock assertion introspection to use awaited arguments instead of the latest call's arguments.
  • #&#8203;606 <https://github.com/pytest-dev/pytest-mock/pull/606>_: mocker.resetall(return_value=True, side_effect=True) now also applies to non-callable mocks, such as those returned by mocker.create_autospec(SomeClass, instance=True). Previously both arguments were silently ignored for them.
  • #&#8203;547 <https://github.com/pytest-dev/pytest-mock/issues/547>_: Added SpyType for annotating mocker.spy results.
  • Dropped support for EOL Python 3.9.
  • #&#8203;147 <https://github.com/pytest-dev/pytest-mock/issues/147>_: Removed handling of RuntimeError: stop called on unstarted patcher, which can no longer occur in the supported Python versions.
  • Added support for Python 3.15.

Configuration

📅 Schedule: (UTC)

  • 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, straightforward version bump. Reviewed the single-line change bumping pytest-mock 3.15.1 to 3.16.0 in requirements-dev.txt — this is a dev-only test dependency with no application code touched, and the version matches the changelog cited in the PR description.

Extended reasoning...

The diff touches only requirements-dev.txt, bumping the pinned pytest-mock dev dependency from 3.15.1 to 3.16.0; no source code or security-sensitive surface is affected. This is a routine, mechanical lockfile update from Renovate with a clear one-line diff, warranting approval without further human review.

@dpieski
dpieski merged commit fe4db39 into main Sep 28, 2026
11 checks passed
@renovate
renovate Bot deleted the renovate/pytest-mock-3.x branch September 28, 2026 18:37
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.

1 participant