Skip to content

Commit 406a84b

Browse files
committed
Fix docs
1 parent b77e633 commit 406a84b

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

src/_pytest/mark/__init__.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,10 @@ def test_eval(test_input, expected):
7979
:param id:
8080
The id to attribute to this parameter set.
8181
82-
:ref:`hidden-param` means to hide the parameter set
83-
from the test name. Can only be used at most 1 time, as
84-
test names need to be unique.
82+
.. versionadded:: 8.4
83+
:ref:`hidden-param` means to hide the parameter set
84+
from the test name. Can only be used at most 1 time, as
85+
test names need to be unique.
8586
"""
8687
return ParameterSet.param(*values, marks=marks, id=id)
8788

src/_pytest/python.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1210,9 +1210,10 @@ def parametrize(
12101210
They are mapped to the corresponding index in ``argvalues``.
12111211
``None`` means to use the auto-generated id.
12121212
1213-
:ref:`hidden-param` means to hide the parameter set
1214-
from the test name. Can only be used at most 1 time, as
1215-
test names need to be unique.
1213+
.. versionadded:: 8.4
1214+
:ref:`hidden-param` means to hide the parameter set
1215+
from the test name. Can only be used at most 1 time, as
1216+
test names need to be unique.
12161217
12171218
If it is a callable it will be called for each entry in
12181219
``argvalues``, and the return value is used as part of the

0 commit comments

Comments
 (0)