Skip to content

Track dynamic fixture dependencies#5

Open
yashwant86 wants to merge 2 commits intomainfrom
pr-14288
Open

Track dynamic fixture dependencies#5
yashwant86 wants to merge 2 commits intomainfrom
pr-14288

Conversation

@yashwant86
Copy link
Copy Markdown

Mirror of pytest-dev#14288

Anton3 added 2 commits March 14, 2026 14:50
This PR adds `FixtureRequest._own_fixture_defs` and uses it for a more accurate `--setuponly` and `--setupshow` output. This might be a bit overkill for this specific purpose, but `_own_fixture_defs` can also be used to track fixture dependencies for proper teardown in case of parametrized fixtures, see PR pytest-dev#14104.

Fixes: pytest-dev#14287
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants