Skip to content

Commit c594bbb

Browse files
authored
Merge pull request #7240 from DahlitzFlorian/fix-issue-7233
Add note about --strict and --strict-markers to references
2 parents 45f5326 + 62d3577 commit c594bbb

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ Fabio Zadrozny
103103
Felix Nieuwenhuizen
104104
Feng Ma
105105
Florian Bruhin
106+
Florian Dahlitz
106107
Floris Bruynooghe
107108
Gabriel Reis
108109
Gene Wood

changelog/7233.doc.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add a note about ``--strict`` and ``--strict-markers`` and the preference for the latter one.

doc/en/reference.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1447,6 +1447,11 @@ passed multiple times. The expected format is ``name=value``. For example::
14471447
slow
14481448
serial
14491449
1450+
.. note::
1451+
The use of ``--strict-markers`` is highly preferred. ``--strict`` was kept for
1452+
backward compatibility only and may be confusing for others as it only applies to
1453+
markers and not to other options.
1454+
14501455
.. confval:: minversion
14511456

14521457
Specifies a minimal pytest version required for running tests.

0 commit comments

Comments
 (0)