Skip to content

[PR #14539/3422c67a backport][9.0.x] Clarify request fixture in indirect parametrization docs#14555

Merged
nicoddemus merged 1 commit into
9.0.xfrom
patchback/backports/9.0.x/3422c67a3a46ccb4b5549c88821d5d768843418e/pr-14539
Jun 4, 2026
Merged

[PR #14539/3422c67a backport][9.0.x] Clarify request fixture in indirect parametrization docs#14555
nicoddemus merged 1 commit into
9.0.xfrom
patchback/backports/9.0.x/3422c67a3a46ccb4b5549c88821d5d768843418e/pr-14539

Conversation

@patchback
Copy link
Copy Markdown

@patchback patchback Bot commented Jun 4, 2026

This is a backport of PR #14539 as merged into main (3422c67).

Summary

  • clarify that request in the indirect parametrization example is pytest's built-in FixtureRequest fixture
  • explain that indirect parameter values are exposed to the fixture via request.param

Closes #13155.

Checks

  • git diff --check
  • uvx tox -e docs -- doc/en/example/parametrize.rst

Closes #13155

---------

Co-authored-by: Bruno Oliveira <bruno@pytest.org>
(cherry picked from commit 3422c67)
@nicoddemus nicoddemus merged commit 9577bd9 into 9.0.x Jun 4, 2026
32 checks passed
@nicoddemus nicoddemus deleted the patchback/backports/9.0.x/3422c67a3a46ccb4b5549c88821d5d768843418e/pr-14539 branch June 4, 2026 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants