Sourced from pytest's releases.
9.1.1
pytest 9.1.1 (2026-06-19)
Bug fixes
- #14220: Fixed a logic bug in
pytest.RaisesGroupwhich would might cause it to display incorrect "It matches FooError() which was paired with BarError" messages.- #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 '<fixture name>'".- #14606: Fixed
list-itemtyping errors from mypy in@pytest.mark.parametrize <pytest.mark.parametrize ref>argvaluesparameter.- #14608: Fixed a regression in pytest 9.1.0 where
conftest.pyfiles located in<invocation dir>/test*were no longer loaded as initial conftests when invoked without arguments. This could cause certain hooks (likepytest_addoption) in these files to not fire.
cf470ec
Prepare release version 9.1.1e0c8ce6
Merge pull request #14625
from pytest-dev/patchback/backports/9.1.x/a07c31a97...1b82d16
Merge pull request #14624
from pytest-dev/patchback/backports/9.1.x/b375b79ec...501c4bc
Merge pull request #14596
from bluetech/doc-classmethodb61f588
Merge pull request #14622
from chrisburr/fix-14608-initial-conftest-test-subdir9a567e0
[automated] Update plugin list (#14617)
(#14618)ef8b299
Merge pull request #14620
from pytest-dev/patchback/backports/9.1.x/680f9f3ed...66abd07
Merge pull request #14220
from bysiber/fix-stale-iexp-raisesgroup79fbf93
Merge pull request #14612
from pytest-dev/patchback/backports/9.1.x/974ed48b6...0d312eb
Merge pull request #14611
from bluetech/parametrize-argvalues-typing