# pytest 9.1.1 - Product: pytest (https://whatsnew.fyi/product/pytest) - Vendor: pytest - Date: 2026-06-19 - Version: 9.1.1 - Original notes: https://github.com/pytest-dev/pytest/releases/tag/9.1.1 - Permalink: https://whatsnew.fyi/product/pytest/releases/9.1.1 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: release facts (products, versions, dates, links, CVE ids and flags) are open data under CC BY 4.0, from the API at https://whatsnew.fyi/api/v1 or the nightly dataset at https://github.com/whatsnew-fyi/dataset. The summaries, labels and curation are © What's New: quote freely with attribution and a link back; wholesale republication of them is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **fixed** — Fixed a logic bug in pytest.RaisesGroup which would cause it to display incorrect error pairing messages - **fixed** — Fixed a regression in pytest 9.1.0 which caused overriding a parametrized fixture with an indirect @pytest.mark.parametrize to fail with duplicate parametrization error - **fixed** — Fixed list-item typing errors from mypy in @pytest.mark.parametrize argvalues parameter - **fixed** — Fixed a regression in pytest 9.1.0 where conftest.py files located in /test* were no longer loaded as initial conftests when invoked without arguments #### pytest 9.1.1 (2026-06-19) ##### Bug fixes - [\#14220](https://github.com/pytest-dev/pytest/issues/14220): Fixed a logic bug in `pytest.RaisesGroup` which would might cause it to display incorrect "It matches FooError() which was paired with BarError" messages. - [\#14591](https://github.com/pytest-dev/pytest/issues/14591): Fixed a regression in pytest 9.1.0 which caused overriding a parametrized fixture with an indirect @pytest.mark.parametrize to fail with "duplicate parametrization of '\'". - [\#14606](https://github.com/pytest-dev/pytest/issues/14606): Fixed `list-item` typing errors from mypy in `@pytest.mark.parametrize ` `argvalues` parameter. - [\#14608](https://github.com/pytest-dev/pytest/issues/14608): Fixed a regression in pytest 9.1.0 where `conftest.py` files located in `/test*` were no longer loaded as initial conftests when invoked without arguments. This could cause certain hooks (like `pytest_addoption`) in these files to not fire.