Skip to content

Commit 9bd4b0a

Browse files
authored
Merge pull request #3910 from hoefling/docfix
doc fix: raises accepts tuples instead of lists
2 parents f0e852b + 8c96eea commit 9bd4b0a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changelog/3907.doc.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Corrected type of the exceptions collection passed to ``xfail``: ``raises`` argument accepts a ``tuple`` instead of ``list``.

doc/en/skipping.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ on a particular platform::
277277
~~~~~~~~~~~~~~~~~~~~
278278

279279
If you want to be more specific as to why the test is failing, you can specify
280-
a single exception, or a list of exceptions, in the ``raises`` argument.
280+
a single exception, or a tuple of exceptions, in the ``raises`` argument.
281281

282282
.. code-block:: python
283283

0 commit comments

Comments
 (0)