Skip to content

Do not register function-scoped fixture finalizers with requested fixtures - #15224

Open
rafael-g-v wants to merge 1 commit into
pytest-dev:mainfrom
rafael-g-v:fix-4871
Open

rafael-g-v wants to merge 1 commit into
pytest-dev:mainfrom
rafael-g-v:fix-4871

Do not register function-scoped fixture finalizers with requested fix…

c08782b
Select commit
Loading
Failed to load commit list.
PyBA Chronographer / Changelog entry succeeded Oct 19, 2026 in 2s

Chronographer: Good to go

Great! This change has been recorded to the chronicles

You are good at keeping records! Image source: Unsplash ID=bByhWydZLW0

See https://docs.pytest.org/en/latest/contributing.html#preparing-pull-requests for details.
Please, refer to the following document for more details on how to
craft a great change note for inclusion with your pull request:
https://docs.pytest.org/en/latest/contributing.html#preparing-pull-requests

Details

The following news fragments found: [<PatchedFile: changelog/4871.improvement.rst>]

Pattern: re.compile('changelog/(?P<issue_number>[^\./]+)\.(?P<fragment_type>breaking|deprecation|feature|improvement|bugfix|vendor|doc|packaging|contrib|misc)(\.\d+)?(\.[^\./]+)*\.rst$')