NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #329 most downloaded on PyPI
Thin-wrapper around the mock package for easier use with pytest
Last release 3 days ago
27 Sep 2026
Release timing varies
gaps range from 1 weeks to 1.2 years
Nearly every release is documented
notes for 59 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
67 releases · first in 2014
mocker and backward compatible mock fixture now return the same object (#8). Many thanks to @RonnyPfannschmidt for the PR!
mocker and backward compatible mock fixture now return the same object (#8). Many thanks to @RonnyPfannschmidt for the PR!mocker fixture now returns the same object (#8). Many thanks to `@RonnyPfannschmidt`_ for the PR!
Small fix, no longer using wheel as an alternate package since it conditionally depends on mock module based on Python version, as Python >= 3.3 alrea
Small fix, no longer using wheel as an alternate package since it conditionally depends on mock module based on Python version, as Python >= 3.3 already includes unittest.mock . Many thanks to @The-Compiler for letting me know and providing a PR with the fix!
One column per quarter.
Small release that just uses pytest_mock as the name of the plugin, instead of pytest-mock: this makes it simple to depend on this plugin explicitly u
Small release that just uses pytest_mock as the name of the plugin, instead of pytest-mock: this makes it simple to depend on this plugin explicitly using pytest_plugins module variable mechanism
Changed fixture name from mock into mocker because it conflicted with the actual mock module, which made using it awkward when access to both the modu
Changed fixture name from mock into mocker because it conflicted with the actual mock module, which made using it awkward when access to both the module and the plugin were required within a test.
Thanks @kmosher for request and discussion in #4. :smile:
Fixed bug #2, where a patch would not be uninstalled correctly after patching the same object twice
* Added patch.dict support.
Added patch.dict support.
.. _#2: https://github.com/pytest-dev/pytest-qt/issues/2
First release.
First release.
On this page
Changelog
Releases
3.16.0
3.15.1
3.15.0
3.14.1 (2025-05-26)
3.14.0 (2024-03-21)
3.13.0 (2024-03-21)
3.12.0 (2023-10-19)
3.11.1 (2023-06-15)
3.11.0 (2023-06-15)
3.10.0 (2022-10-05)
3.9.0 (2022-09-28)
3.8.2 (2022-07-05)
3.8.1 (2022-06-24)
3.8.0 (2022-06-24)
3.7.0 (2022-01-28)
3.6.1 (2021-05-06)
3.6.0 (2021-04-24)
3.5.1 (2021-01-10)
3.5.0 (2021-01-04)
3.4.0 (2020-12-15)
3.3.1 (2020-08-24)
3.3.0 (2020-08-21)
3.2.0 (2020-07-11)
3.1.1 (2020-05-31)
3.1.0 (2020-04-18)
3.0.0 (2020-03-31)
2.0.0 (2020-01-04)
Breaking Changes
1.13.0 (2019-12-05)
1.12.1 (2019-11-20)
1.12.0 (2019-11-19)
1.11.2 (2019-10-19)
1.11.1 (2019-10-04)
1.11.0
1.10.4
1.10.3
1.10.2
1.10.1
1.10.0
1.9.0
1.8.0
1.7.1
1.7.0
1.6.3
1.6.2
1.6.1
1.6.0
1.5.0
1.4.0
1.3.0
1.2
1.1
1.0
0.11.0
0.10.1
0.10
0.9.0
0.8.1
0.8.0
0.7.0
0.6.0
0.5.0
0.4.3
0.4.2
0.4.1
0.4.0
0.3.0
0.2.0
0.1.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →