doc fix: raises accepts tuples instead of lists (fixes #3907)
This commit is contained in:
parent
338953a25d
commit
8c96eea583
|
@ -0,0 +1 @@
|
||||||
|
Corrected type of the exceptions collection passed to ``xfail``: ``raises`` argument accepts a ``tuple`` instead of ``list``.
|
|
@ -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
|
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
|
.. code-block:: python
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue