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.