Loading…
pytest-mock is a Python library that provides a thin wrapper around the mock package for easier use with pytest. It simplifies mocking in tests by offering a fixture-based interface and automatic cleanup.
AI named pytest-mock from October 2025 to July 2026.
None of these answers cited pypi.org. AI leaned on reddit.com, getautonoma.com, and adlrocha.substack.com.
pypi.org/project/pytest-mock 0%Other sites 100%