Skip to content

Clarify package-scoped fixture boundaries - #15024

Open
joshuavetos wants to merge 2 commits into
pytest-dev:mainfrom
joshuavetos:docs/package-scope-13216
Open

joshuavetos wants to merge 2 commits into
pytest-dev:mainfrom
joshuavetos:docs/package-scope-13216

Conversation

@joshuavetos

@joshuavetos joshuavetos commented Sep 14, 2026

Copy link
Copy Markdown

Refs #13216

Clarifies what pytest means by a package for package-scoped fixtures. Directories without an __init__.py don't create the package boundary used for fixture teardown.

Co-authored-by: ChatGPT <noreply@openai.com>
@psf-chronographer psf-chronographer Bot added the bot:chronographer:provided (automation) changelog entry is part of PR label Sep 14, 2026
Comment thread doc/en/how-to/fixtures.rst Outdated
@bluetech

Copy link
Copy Markdown
Member

I updated the "Closes #13216" to "Refs #13216" because I don't think we want to close it with a clarification, unless we decide it's a wontfix.

Co-authored-by: Ran Benita <ran@unusedvar.com>
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.

2 participants