Graceful platform for test doubles in Python (mocks, stubs, fakes, and dummies). Version 1.1.1, stable but rarely updated.
pip install mockerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic mock creation and expectation example.
Use unittest.mock from stdlib or pytest-mock integration.
Always call mocker.restore() in teardown, preferably via context manager.
Call mocker.replay() after setting expectations and before using the mock.
No dependency data recorded yet.