pytest-mock

PyPI v3.15.1

19,653,457 weekly downloads · MIT · 1 Dependencies

Source data as of:

Summary

Thin-wrapper around the mock package for easier use with pytest

Install pip install pytest-mock

Registry values

Reproduced verbatim from the official registry, with the source named on each value.

Weekly downloads 19,653,457 Source: PyPI (Python Package Index)
Releases 66 Last release: 2025-09-16 Source: PyPI (Python Package Index)
Dependencies 1 Source: PyPI (Python Package Index)

Description

Thin-wrapper around the mock package for easier use with pytest

Registry-supplied description, cleaned to plain text. Source: PyPI (Python Package Index).

Package details

Package
pytest-mock
Registry
PyPI
Version
3.15.1
Weekly downloads
19,653,457 (weekly)
License
MIT
Dependencies
1: pytest
Releases
66
Last release
2025-09-16
First published
2014-07-17
Keywords
pytest, mock
Repository
https://github.com/pytest-dev/pytest-mock/

Why a field shows "—": A dash means the value is not published by the source registry for that package. Quanteta never fills in a guessed value — a missing field stays blank.

Derived indices (computation method published)

Quanteta-computed from the registry values below. This is a derived index, not a measured registry metric. See the formula on the Data & Sources page.

Q-Vitality Quanteta 39.7 / 100 Maintenance activity index (release cadence + download level).
Q-Trust Quanteta 19.7 / 100 Adoption / stability index (community size + download stability + age).
Q-Risk Quanteta 54.9 / 100 Dependency-surface index. Higher = more risk factors detected.

Data & Sources