Sourced from pytest's releases.
8.0.1
pytest 8.0.1 (2024-02-16)
Bug Fixes
- #11875: Correctly handle errors from
getpass.getuser{.interpreted-text role="func"} in Python 3.13.- #11879: Fix an edge case where
ExceptionInfo._stringify_exceptioncould crashpytest.raises{.interpreted-text role="func"}.- #11906: Fix regression with
pytest.warns{.interpreted-text role="func"} using custom warning subclasses which have more than one parameter in their [__init__]{.title-ref}.- #11907: Fix a regression in pytest 8.0.0 whereby calling
pytest.skip{.interpreted-text role="func"} and similar control-flow exceptions within apytest.warns(){.interpreted-text role="func"} block would get suppressed instead of propagating.- #11929: Fix a regression in pytest 8.0.0 whereby autouse fixtures defined in a module get ignored by the doctests in the module.
- #11937: Fix a regression in pytest 8.0.0 whereby items would be collected in reverse order in some circumstances.
d7d320a
Prepare release version 8.0.19369916
Merge pull request #11992
from bluetech/backport-11991a232abd
[8.0.x] recwarn: fix pytest.warns handling of Warnings with multiple
arguments92203d2
Merge pull request #11990
from bluetech/backport-11920f1aa922
[8.0.x] recwarn: let base exceptions propagate through
pytest.warns againd86d081
[8.0.x] Added logot to the plugin list (#11977)c554c3d
Merge pull request #11968
from pytest-dev/backport-11957-to-8.0.xa6851e3
[8.0.x] main: fix reversed collection order in Sessione6f6be3
[8.0.x] Improve error message when using @​pytest.fixture twice
(#11958)23b91d1
[8.0.x] Merge pull request #11941
from bluetech/doctest-parsefactories (#11948)