9.1.1
📦 pytestView on GitHub →
🐛 4 fixes🔧 2 symbols
Summary
This patch release (9.1.1) focuses entirely on fixing several regressions introduced in version 9.1.0, addressing issues related to exception reporting, fixture parametrization overrides, typing, and conftest loading.
🐛 Bug Fixes
- Fixed a logic bug in `pytest.RaisesGroup` that could cause incorrect error messages regarding paired exceptions.
- Fixed a regression in pytest 9.1.0 where overriding a parametrized fixture with an indirect `@pytest.mark.parametrize` caused a "duplicate parametrization of '<fixture name>'" error.
- Fixed `list-item` typing errors from mypy in the `argvalues` parameter of `@pytest.mark.parametrize`.
- Fixed a regression in pytest 9.1.0 where `conftest.py` files in `<invocation dir>/test*` were not loaded as initial conftests when invoked without arguments, preventing hooks like `pytest_addoption` from firing.