doc fix: raises accepts tuples instead of lists (fixes #3907)

This commit is contained in:
hoefling 2018-08-30 00:11:00 +02:00
parent 338953a25d
commit 8c96eea583
2 changed files with 2 additions and 1 deletions

1
changelog/3907.doc.rst Normal file
View File

@ -0,0 +1 @@
Corrected type of the exceptions collection passed to ``xfail``: ``raises`` argument accepts a ``tuple`` instead of ``list``.

View File

@ -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