Skip to content

docs: document doctest fixture parametrization limit#14487

Open
MukundaKatta wants to merge 1 commit into
pytest-dev:mainfrom
MukundaKatta:codex/document-doctest-param-fixtures
Open

docs: document doctest fixture parametrization limit#14487
MukundaKatta wants to merge 1 commit into
pytest-dev:mainfrom
MukundaKatta:codex/document-doctest-param-fixtures

Conversation

@MukundaKatta
Copy link
Copy Markdown

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
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

1 participant