Skip to content

Commit

Permalink
doc fix: raises accepts tuples instead of lists (fixes #3907)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoefling committed Aug 29, 2018
1 parent 338953a commit 8c96eea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog/3907.doc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Corrected type of the exceptions collection passed to ``xfail``: ``raises`` argument accepts a ``tuple`` instead of ``list``.
2 changes: 1 addition & 1 deletion doc/en/skipping.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8c96eea

Please sign in to comment.