Preparing for system design interviews?  Try bugzed.com →

pytest-mock

JSON →
library 3.15.1 ·python
verified Jun 28, 2026 install stale

pytest-mock is a pytest plugin that provides a `mocker` fixture, acting as a thin wrapper around Python's `unittest.mock` library. It simplifies the process of creating and managing mock objects in pytest tests by automatically cleaning up mocks after each test. The library is actively maintained, with frequent updates to support new Python and pytest versions, currently at version 3.15.1.

total hits 11
actors 3 distinct systems
last hit 11d ago AhrefsBot
GPTBot
4
ClaudeBot
4

top countries 🇺🇸 United States · 🇨🇦 Canada