Mock Open
JSON →The `mock-open` library (current version 1.4.0) provides an enhanced mock object for testing file I/O operations in Python. It extends `unittest.mock.mock_open` to offer more realistic behavior for file-like objects, including robust handling of `with` statements, `read`, `write`, `seek`, and binary modes. It is actively maintained with releases addressing compatibility and feature enhancements.
Traffic · last 30 days stale · no recent hits
total hits 27
actors 5 distinct systems
last hit 23d ago GPTBot
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · 🇨🇳 China · 🇫🇷 France
API endpoints
full doc /v1/registry/mock-open
install /v1/registry/mock-open/install
compatibility /v1/registry/mock-open/compatibility