Skip to content

Attribute session teardown errors past xfail conversion - #15074

Open
SemTiOne wants to merge 4 commits into
pytest-dev:mainfrom
SemTiOne:fix/8375-session-teardown
Open

SemTiOne wants to merge 4 commits into
pytest-dev:mainfrom
SemTiOne:fix/8375-session-teardown

Conversation

@SemTiOne

Copy link
Copy Markdown
Contributor

Session teardown errors are no longer converted to expected failures when the last test is marked xfail. Setup/call and non-session teardown xfail behavior unchanged.

Closes #8375.

  • Allow maintainers to push and squash when merging my commits. Please uncheck this if you prefer to squash the commits yourself.

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
@psf-chronographer psf-chronographer Bot added the bot:chronographer:provided (automation) changelog entry is part of PR label Sep 21, 2026
@SemTiOne
SemTiOne marked this pull request as ready for review September 21, 2026 15:02
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>

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.

Error not raised in session fixture when mark.xfail is set on last test

1 participant