pytest-mock

Community

Thin-wrapper around the mock package for easier use with py.test

Installation

To install this package, run one of the following:

Conda
$conda install conda-forge::pytest-mock

Frequently installed with pytest-mock

63% of users use this for dev tools

hypothesis

60% of users use this for dev tools

59% of users use this for dev tools

Try This Package Beta

Usage Tracking

3.17.0
3.16.0
3.15.1
3.15.0
3.14.1
5 / 8 versions selected
Downloads (Last 6 months): 0

About

Summary

Thin-wrapper around the mock package for easier use with py.test

Last Updated

Oct 17, 2026 at 16:35

License

MIT

Supported Platforms

noarch

Unsupported Platforms

linux-ppc64le Last supported version: 2.0.0
linux-64 Last supported version: 2.0.0
win-32 Last supported version: 1.10.0
linux-aarch64 Last supported version: 2.0.0
macOS-64 Last supported version: 2.0.0
win-64 Last supported version: 2.0.0