FICHA · MANJARO

python-pytest-raises

An implementation of pytest.raises as a pytest.mark fixture

  • Plugin
  • Dev
  • Dependency only
official+codex · reviewed · May 28, 2026 description in en

Description

Lets pytest tests express expected exceptions through mark-style fixtures. It helps projects organize exception expectations in parametrized tests without wrapping every case manually.

Expected-exception tests should still check the right error and message. Avoid accepting broad exceptions that hide unrelated failures.

Permissions

Permissions not analysed for this source yet.