pytest-dev/pytest-mock (pytest-mock)
### [`v3.14.0`](https://togithub.com/pytest-dev/pytest-mock/blob/HEAD/CHANGELOG.rst#3140-2024-03-21)
[Compare Source](https://togithub.com/pytest-dev/pytest-mock/compare/v3.13.0...v3.14.0)
- `#415 `\_: `MockType` and `AsyncMockType` can be imported from `pytest_mock` for type annotation purposes.
- `#420 `\_: Fixed a regression which would cause `mocker.patch.object` to not being properly cleared between tests.
### [`v3.13.0`](https://togithub.com/pytest-dev/pytest-mock/blob/HEAD/CHANGELOG.rst#3130-2024-03-21)
[Compare Source](https://togithub.com/pytest-dev/pytest-mock/compare/v3.12.0...v3.13.0)
- `#417 `\_: `spy` now has `spy_return_list`, which is a list containing all the values returned by the spied function.
- `pytest-mock` now requires `pytest>=6.2.5`.
- `#410 `*: pytest-mock's `setup.py` file is removed.
If you relied on this file, e.g. to install pytest using `setup.py install`,
please see `Why you shouldn't invoke setup.py directly `* for alternatives.
### [`v3.12.0`](https://togithub.com/pytest-dev/pytest-mock/blob/HEAD/CHANGELOG.rst#3120-2023-10-19)
[Compare Source](https://togithub.com/pytest-dev/pytest-mock/compare/v3.11.1...v3.12.0)
- Added support for Python 3.12.
- Dropped support for EOL Python 3.7.
- `mocker.resetall()` now also resets mocks created by `mocker.create_autospec` (`#390`\_).
.. \_#390:[https://github.com/pytest-dev/pytest-mock/pull/390](https://togithub.com/pytest-dev/pytest-mock/pull/390)0
### [`v3.11.1`](https://togithub.com/pytest-dev/pytest-mock/blob/HEAD/CHANGELOG.rst#3111-2023-06-15)
[Compare Source](https://togithub.com/pytest-dev/pytest-mock/compare/v3.11.0...v3.11.1)
(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` and `mocker.spy` (`#364`\_).
.. \_#365:[https://github.com/pytest-dev/pytest-mock/pull/365](https://togithub.com/pytest-dev/pytest-mock/pull/365)5
.. \_#364[https://github.com/pytest-dev/pytest-mock/pull/364](https://togithub.com/pytest-dev/pytest-mock/pull/364)64
### [`v3.11.0`](https://togithub.com/pytest-dev/pytest-mock/blob/HEAD/CHANGELOG.rst#3110-2023-06-15)
[Compare Source](https://togithub.com/pytest-dev/pytest-mock/compare/v3.10.0...v3.11.0)
- Fixed introspection for failed `assert_has_calls` (`#365`\_).
- Updated type annotations for `mocker.patch` and `mocker.spy` (`#364`\_).
.. \_#365:[https://github.com/pytest-dev/pytest-mock/pull/365](https://togithub.com/pytest-dev/pytest-mock/pull/365)5
.. \_#364[https://github.com/pytest-dev/pytest-mock/pull/364](https://togithub.com/pytest-dev/pytest-mock/pull/364)64
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.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
3.10.0
->3.14.0
Release Notes
pytest-dev/pytest-mock (pytest-mock)
### [`v3.14.0`](https://togithub.com/pytest-dev/pytest-mock/blob/HEAD/CHANGELOG.rst#3140-2024-03-21) [Compare Source](https://togithub.com/pytest-dev/pytest-mock/compare/v3.13.0...v3.14.0) - `#415Configuration
📅 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.