Update doc/en/mark.rst

Co-Authored-By: Zac-HD <Zac-HD@users.noreply.github.com>
This commit is contained in:
Daniel Hahler 2019-04-01 07:13:45 +11:00 committed by GitHub
parent 00810b9b2a
commit deade370b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ Marks can be registered in ``pytest.ini`` like this:
When the ``--strict`` command-line flag is passed, any unknown marks applied
with the ``@pytest.mark.name_of_the_mark`` decorator will trigger an error.
Marks added by pytest or by a plugin instead of the decorator will not trigger
this error. To enforce a limited set of markers, add ``--strict`` to ``addopts``:
this error. To enforce validation of markers, add ``--strict`` to ``addopts``:
.. code-block:: ini