diff --git a/AUTHORS b/AUTHORS index 5822c74f2..f7b87fd46 100644 --- a/AUTHORS +++ b/AUTHORS @@ -102,6 +102,7 @@ Fabio Zadrozny Felix Nieuwenhuizen Feng Ma Florian Bruhin +Florian Dahlitz Floris Bruynooghe Gabriel Reis Gene Wood diff --git a/changelog/7233.doc.rst b/changelog/7233.doc.rst new file mode 100644 index 000000000..c57f4d61f --- /dev/null +++ b/changelog/7233.doc.rst @@ -0,0 +1 @@ +Add a note about ``--strict`` and ``--strict-markers`` and the preference for the latter one. diff --git a/doc/en/reference.rst b/doc/en/reference.rst index 0059b4cb2..6bc7657c5 100644 --- a/doc/en/reference.rst +++ b/doc/en/reference.rst @@ -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.