FICHA · AUR

python2-mock

Mocking and patching library for testing (backport of unittest.mock) (deprecated)

  • mock testing library
  • LIBRARY
  • Dev
  • Dependency only
official+codex · reviewed · Jun 4, 2026 description in en

Description

Mock objects can isolate legacy Python 2 test suites with the unittest.mock backport. This deprecated library helps maintainers patch objects, assert calls, and replace dependencies while testing.

It is a testing dependency and not part of production behavior. Prefer maintained testing stacks when modernizing projects.

Permissions

Permissions not analysed for this source yet.