Skip to content

Commit c5aefb5

Browse files
RonnyPfannschmidtCursor AIAnthropic Claude Opus 4.5
committed
fix: use correct RST reference format for pytest.mark.parametrize
Change :func: to :ref: with proper target label to fix ReadTheDocs build. Co-authored-by: Cursor AI <ai@cursor.sh> Co-authored-by: Anthropic Claude Opus 4.5 <claude@anthropic.com>
1 parent 2adff65 commit c5aefb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

changelog/719.bugfix.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Fixed :func:`@pytest.mark.parametrize <pytest.mark.parametrize>` not unpacking single-element tuple values when using a string argnames with a trailing comma (e.g., ``"arg,"``).
1+
Fixed :ref:`@pytest.mark.parametrize <pytest.mark.parametrize ref>` not unpacking single-element tuple values when using a string argnames with a trailing comma (e.g., ``"arg,"``).
22

33
The trailing comma form now correctly behaves like the tuple form ``("arg",)``, treating argvalues as a list of tuples to unpack.

0 commit comments

Comments
 (0)