Merge pull request #3910 from hoefling/docfix

doc fix: raises accepts tuples instead of lists
This commit is contained in:
Bruno Oliveira 2018-08-30 19:41:44 -03:00 committed by GitHub
commit 9bd4b0a05e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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