Quick doc fix on xfail reason parameter
As per https://github.com/pytest-dev/pytest/pull/6957/files#r399564043
This commit is contained in:
parent
0e4a44db3b
commit
70cbce7ccc
|
@ -283,8 +283,7 @@ Note that you have to pass a reason as well (see the parameter description at
|
|||
``reason`` parameter
|
||||
~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
As with skipif_ you can also mark your expectation of a failure
|
||||
on a particular platform:
|
||||
You can specify the motive of an expected failure with the ``reason`` parameter:
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
|
|
Loading…
Reference in New Issue