Skip to content

Commit

Permalink
Merge pull request pytest-dev#10054 from SnoopJeDi/doc/xfail-multiple…
Browse files Browse the repository at this point in the history
…-exceptions

Indicate support for a tuple of exceptions in xfail raises=
  • Loading branch information
nicoddemus committed Jun 26, 2022
2 parents aafac55 + 17c3851 commit 11fb5cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/en/reference/reference.rst
Expand Up @@ -245,7 +245,7 @@ Marks a test function as *expected to fail*.
:keyword str reason:
Reason why the test function is marked as xfail.
:keyword Type[Exception] raises:
Exception subclass expected to be raised by the test function; other exceptions will fail the test.
Exception subclass (or tuple of subclasses) expected to be raised by the test function; other exceptions will fail the test.
:keyword bool run:
If the test function should actually be executed. If ``False``, the function will always xfail and will
not be executed (useful if a function is segfaulting).
Expand Down

0 comments on commit 11fb5cd

Please sign in to comment.