Skip to content

Conversation

bluetech
Copy link
Member

@bluetech bluetech commented Oct 1, 2025

Fix #13773.

@psf-chronographer psf-chronographer bot added the bot:chronographer:provided (automation) changelog entry is part of PR label Oct 1, 2025
@bluetech bluetech force-pushed the fixture-closure-overrides branch from af00c4a to 70bc221 Compare October 2, 2025 09:37
result.assert_outcomes(passed=1)


@pytest.mark.xfail(reason="not currently handled correctly")
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When working on this I thought of this more complicated situation, which unfortunately still fails. It needs the analysis to include visibility, which is more difficult. But this change is still an improvement.

@bluetech bluetech force-pushed the fixture-closure-overrides branch from 70bc221 to 72ae3db Compare October 2, 2025 09:49
Copy link
Member

@nicoddemus nicoddemus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@bluetech bluetech merged commit c772af2 into pytest-dev:main Oct 3, 2025
33 checks passed
@bluetech bluetech deleted the fixture-closure-overrides branch October 3, 2025 00:40
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.

Static fixture closure for an item does not properly consider overridden fixtures
2 participants