Skip to content

Commit f9af520

Browse files
committed
Fix docs build
1 parent 72b3441 commit f9af520

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

changelog/13228.feature.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
:ref:`pytest.HIDDEN_PARAM` can now be used in ``id`` of :func:`pytest.param` or in
1+
:ref:`hidden-param` can now be used in ``id`` of :func:`pytest.param` or in
22
``ids`` of :py:func:`Metafunc.parametrize <pytest.Metafunc.parametrize>`.
33
It hides the parameter set from the test name.

doc/en/reference/reference.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The current pytest version, as a string::
2020
>>> pytest.__version__
2121
'7.0.0'
2222

23-
.. _`pytest.HIDDEN_PARAM ref`:
23+
.. _`hidden-param`:
2424

2525
pytest.HIDDEN_PARAM
2626
~~~~~~~~~~~~~~~~~~~

src/_pytest/mark/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,12 @@ def test_eval(test_input, expected):
7575
7676
:ref:`pytest.mark.usefixtures <pytest.mark.usefixtures ref>` cannot be added via this parameter.
7777
78+
:type id: str | Literal[pytest.HIDDEN_PARAM] | None
7879
:param id: The id to attribute to this parameter set.
7980
8081
.. versionadded: 8.4
8182
82-
:ref:`pytest.HIDDEN_PARAM` means to hide the parameter set
83+
:ref:`hidden-param` means to hide the parameter set
8384
from the test name. Can only be used at most 1 time, as
8485
test names need to be unique.
8586
"""

src/_pytest/python.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1212,7 +1212,7 @@ def parametrize(
12121212
12131213
.. versionadded: 8.4
12141214
1215-
:ref:`pytest.HIDDEN_PARAM` means to hide the parameter set
1215+
:ref:`hidden-param` means to hide the parameter set
12161216
from the test name. Can only be used at most 1 time, as
12171217
test names need to be unique.
12181218

0 commit comments

Comments
 (0)