Merge pull request #7240 from DahlitzFlorian/fix-issue-7233

Add note about --strict and --strict-markers to references
This commit is contained in:
Anthony Sottile 2020-05-23 12:31:27 -07:00 committed by GitHub
commit c594bbbd19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 0 deletions

View File

@ -103,6 +103,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.