diff --git a/changelog/3907.doc.rst b/changelog/3907.doc.rst new file mode 100644 index 000000000..c556344f4 --- /dev/null +++ b/changelog/3907.doc.rst @@ -0,0 +1 @@ +Corrected type of the exceptions collection passed to ``xfail``: ``raises`` argument accepts a ``tuple`` instead of ``list``. diff --git a/doc/en/skipping.rst b/doc/en/skipping.rst index efdf008fb..dabc8a90f 100644 --- a/doc/en/skipping.rst +++ b/doc/en/skipping.rst @@ -277,7 +277,7 @@ on a particular platform:: ~~~~~~~~~~~~~~~~~~~~ If you want to be more specific as to why the test is failing, you can specify -a single exception, or a list of exceptions, in the ``raises`` argument. +a single exception, or a tuple of exceptions, in the ``raises`` argument. .. code-block:: python