{"library":"fixtures","type":"library","category":null,"description":"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.","language":"python","status":"active","version":"4.3.2","tags":["testing","fixtures","unittest","test-helpers","context-manager"],"last_verified":"Fri May 22","install":[{"cmd":"pip install fixtures","imports":["from fixtures import Fixture","from fixtures import LogHandler","from fixtures import MockPatchObject","from fixtures import MonkeyPatch"]}],"homepage":null,"github":"https://github.com/testing-cabal/fixtures","docs":null,"changelog":null,"pypi":"https://pypi.org/project/fixtures/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.6,"avg_import_s":0.38,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/fixtures/compatibility"}}