Skip to content

Fix duplicated exception chain output when an exception group has a cause - #14829

Open
SemTiOne wants to merge 5 commits into
pytest-dev:mainfrom
SemTiOne:fix-14828-exception-group-cause-dup
Open

Fix duplicated exception chain output when an exception group has a cause#14829
SemTiOne wants to merge 5 commits into
pytest-dev:mainfrom
SemTiOne:fix-14828-exception-group-cause-dup

Add edge case tests for exception group chain deduplication

d07e8ef
Select commit
Loading
Failed to load commit list.
PSF Chronographer / Changelog entry succeeded Aug 14, 2026 in 2s

Chronographer: Good to go

Great! This change has been recorded to the chronicles

You are good at keeping records! Image source: Unsplash ID=bByhWydZLW0

See https://docs.pytest.org/en/latest/contributing.html#preparing-pull-requests for details.
Please, refer to the following document for more details on how to
craft a great change note for inclusion with your pull request:
https://docs.pytest.org/en/latest/contributing.html#preparing-pull-requests

Details

The following news fragments found: [<PatchedFile: changelog/14828.bugfix.rst>]

Pattern: re.compile('changelog/(?P<issue_number>[^\\./]+)\.(?P<fragment_type>breaking|deprecation|feature|improvement|bugfix|vendor|doc|packaging|contrib|misc)(\.\d+)?(\.[^\\./]+)*\.rst$')