Skip to content

Commit

Permalink
Merge pull request #3910 from hoefling/docfix
Browse files Browse the repository at this point in the history
doc fix: raises accepts tuples instead of lists
  • Loading branch information
nicoddemus authored Aug 30, 2018
2 parents f0e852b + 8c96eea commit 9bd4b0a
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 9bd4b0a

Please sign in to comment.