Skip to content

docs: document doctest fixture parametrization limit#14487

Merged
Pierre-Sassoulas merged 1 commit into
pytest-dev:mainfrom
MukundaKatta:codex/document-doctest-param-fixtures
May 23, 2026
Merged

docs: document doctest fixture parametrization limit#14487
Pierre-Sassoulas merged 1 commit into
pytest-dev:mainfrom
MukundaKatta:codex/document-doctest-param-fixtures

Conversation

@MukundaKatta
Copy link
Copy Markdown
Contributor

Document that doctests do not support fixtures that depend on parametrization, including parametrized autouse fixtures, because doctest collection does not perform normal test generation.

Closes #13038

Verification:

  • sphinx-build -W --keep-going -b html doc/en doc/en/_build/html
  • git diff --check

@psf-chronographer psf-chronographer Bot added the bot:chronographer:provided (automation) changelog entry is part of PR label May 15, 2026
@Pierre-Sassoulas Pierre-Sassoulas merged commit 28c1700 into pytest-dev:main May 23, 2026
33 checks passed
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.

Support parameterized fixtures in doctests

3 participants