Add note about --strict and --strict-markers to references

This commit is contained in:
Florian Dahlitz 2020-05-22 16:33:50 +02:00
parent 4a1557fa0e
commit 62d3577435
No known key found for this signature in database
GPG Key ID: 628E551560123F45
3 changed files with 7 additions and 0 deletions

View File

@ -102,6 +102,7 @@ Fabio Zadrozny
Felix Nieuwenhuizen
Feng Ma
Florian Bruhin
Florian Dahlitz
Floris Bruynooghe
Gabriel Reis
Gene Wood

1
changelog/7233.doc.rst Normal file
View File

@ -0,0 +1 @@
Add a note about ``--strict`` and ``--strict-markers`` and the preference for the latter one.

View File

@ -1447,6 +1447,11 @@ passed multiple times. The expected format is ``name=value``. For example::
slow
serial
.. note::
The use of ``--strict-markers`` is highly preferred. ``--strict`` was kept for
backward compatibility only and may be confusing for others as it only applies to
markers and not to other options.
.. confval:: minversion
Specifies a minimal pytest version required for running tests.