Skip to content

Fix fixture teardown after BaseExceptionGroup - #15431

Open
rraghav01 wants to merge 1 commit into
pytest-dev:mainfrom
rraghav01:fix/15329-continue-fixture-teardown
Open

rraghav01 wants to merge 1 commit into
pytest-dev:mainfrom
rraghav01:fix/15329-continue-fixture-teardown

Conversation

@rraghav01

Copy link
Copy Markdown

Summary

  • Continue running fixture finalizers after a BaseExceptionGroup is raised during teardown.
  • Handle BaseExceptionGroup alongside TEST_OUTCOME exceptions.
  • Add a regression test to verify that remaining fixture finalizers execute correctly.

Testing

  • Targeted regression test: PASSED.
  • Test runner module: 70 passed, 1 xfailed.

@pyba-chronographer pyba-chronographer Bot added the bot:chronographer:provided (automation) changelog entry is part of PR label Nov 22, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot:chronographer:provided (automation) changelog entry is part of PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant