Skip to content

fixtures: deprecate calling request.getfixturevalue() during teardown#14295

Open
bluetech wants to merge 2 commits intopytest-dev:mainfrom
bluetech:deprecate-getfixturevalue-teardown
Open

fixtures: deprecate calling request.getfixturevalue() during teardown#14295
bluetech wants to merge 2 commits intopytest-dev:mainfrom
bluetech:deprecate-getfixturevalue-teardown

Conversation

@bluetech
Copy link
Member

on a fixture that hasn't already been requested.

Fix #12882.

The first commit is needed for the $subject change.

…ssage

In this case let's just show the test function.
@psf-chronographer psf-chronographer bot added the bot:chronographer:provided (automation) changelog entry is part of PR label Mar 16, 2026
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.

Confusing AssertionError when using request.getfixturevalue with new fixture during teardown

1 participant