[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
21e78b7bce
commit
5410dde6a5
|
@ -239,7 +239,7 @@ Marks a test function as *expected to fail*.
|
|||
|
||||
.. py:function:: pytest.mark.xfail(condition=None, *, reason=None, raises=None, run=True, strict=xfail_strict)
|
||||
|
||||
:keyword Optional[Union[bool, str]] condition:
|
||||
:keyword Optional[Union[bool, str]] condition:
|
||||
Condition for marking the test function as xfail (``True/False/None`` or a
|
||||
:ref:`condition string <string conditions>`). If a bool or None, you also have
|
||||
to specify ``reason`` (see :ref:`condition string <string conditions>`). ``None`` is the same as ``False``.
|
||||
|
|
Loading…
Reference in New Issue