Skip to content

Conversation

@bluetech
Copy link
Member

Please see the commits!

…sts`

Originally added in c00fe96, but since
made redundant.

The `ignore_args` parameter in `getfixtureclosure()` (populated by
`_get_direct_parametrize_args()`) now handles the precedence
automatically. When a test directly parametrizes an argument, it's
included in `ignore_args`, which prevents the fixture from being
included in the closure computation in the first place.
This is incidental to this function, better to focus on what it does.
…ansitively

Currently a known bug, hopefully we can fix it in the future.
The `request` thing is really accurate. The comment in the docstring is
more accurate, so let's remove this redundant comment.
@bluetech bluetech added the skip news used on prs to opt out of the changelog requirement label Nov 14, 2025
@bluetech bluetech merged commit b3cd38e into pytest-dev:main Nov 14, 2025
33 checks passed
@bluetech bluetech deleted the fixtures-rm-special-case branch November 14, 2025 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news used on prs to opt out of the changelog requirement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants