Skip to content

[al clone] Expose FixtureFunctionDefinition as part of the public API - #15031

Closed
jacksonsr451 wants to merge 1 commit into
pytest-dev:mainfrom
jacksonsr451:fix/14853
Closed

jacksonsr451 wants to merge 1 commit into
pytest-dev:mainfrom
jacksonsr451:fix/14853

Conversation

@jacksonsr451

Copy link
Copy Markdown

Thanks for submitting a PR, your contribution is really appreciated!

Here is a quick checklist that should be present in PRs.

  • Include documentation when adding new features.
  • Include new tests or update existing tests when applicable.
  • Allow maintainers to push and squash when merging my commits.

If this change fixes an issue, please:

Important

Unsupervised agentic contributions are not accepted. See our AI/LLM-Assisted Contributions Policy.

  • AI tools were used as an assistant during investigation and implementation. I reviewed the changes and ran the relevant tests locally.

Unless your change is trivial or a small documentation fix, please:

  • Created changelog/14853.feature.rst.

  • Add yourself to AUTHORS in alphabetical order.

Summary

Exposes FixtureFunctionDefinition as pytest.FixtureFunctionDefinition and adds it to pytest.__all__.

Adds a regression test verifying that objects created by @pytest.fixture are instances of the publicly exposed pytest.FixtureFunctionDefinition.

@psf-chronographer psf-chronographer Bot added the bot:chronographer:provided (automation) changelog entry is part of PR label Sep 15, 2026
@bluetech

Copy link
Copy Markdown
Member

There is already a PR open for this.

@bluetech bluetech closed this Sep 15, 2026
@RonnyPfannschmidt RonnyPfannschmidt changed the title Expose FixtureFunctionDefinition as part of the public API [al clone] Expose FixtureFunctionDefinition as part of the public API Sep 15, 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.

Expose FixtureFunctionDefinition as part of the public API

2 participants