Python Fixtures Library

JSON →
library 4.3.2 ·python
verified May 22, 2026

The `fixtures` library (not to be confused with `pytest` fixtures) provides a Python contract for reusable state and support logic, primarily for unit testing. It includes helper and adaptation logic to simplify writing fixtures and offers glue code for `unittest`-compatible test cases. As of version 4.3.2, released in March 2026, the library is actively maintained and supports Python 3.10 and newer. It offers a set of pre-canned fixtures like `LogHandler`, `MockPatchObject`, and `MonkeyPatch` for common testing scenarios.

total hits 10
actors 4 distinct systems
last hit 4d ago AhrefsBot
GPTBot
2
Script
2
Humans
2

top countries 🇫🇷 France · 🇩🇪 Germany · 🇨🇦 Canada · 🇺🇸 United States · 🇸🇬 Singapore