Skip to content

Commit c9628c5

Browse files
authored
Merge pull request #4971 from bskinn/patch-1
Fix pytestmark syntax in reference.rst
2 parents 7764312 + dcbdcc7 commit c9628c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/en/reference.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,7 @@ pytest_mark
883883
**Tutorial**: :ref:`scoped-marking`
884884

885885
Can be declared at the **global** level in *test modules* to apply one or more :ref:`marks <marks ref>` to all
886-
test functions and methods. Can be either a single mark or a sequence of marks.
886+
test functions and methods. Can be either a single mark or a list of marks.
887887

888888
.. code-block:: python
889889
@@ -896,7 +896,7 @@ test functions and methods. Can be either a single mark or a sequence of marks.
896896
897897
import pytest
898898
899-
pytestmark = (pytest.mark.integration, pytest.mark.slow)
899+
pytestmark = [pytest.mark.integration, pytest.mark.slow]
900900
901901
PYTEST_DONT_REWRITE (module docstring)
902902
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)