From 8c96eea583d9bcbc6d88f17f1d0f5331414deada Mon Sep 17 00:00:00 2001 From: hoefling Date: Thu, 30 Aug 2018 00:11:00 +0200 Subject: [PATCH] doc fix: raises accepts tuples instead of lists (fixes #3907) --- changelog/3907.doc.rst | 1 + doc/en/skipping.rst | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changelog/3907.doc.rst 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