[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2023-10-27 22:35:05 +00:00
parent 21e78b7bce
commit 5410dde6a5
1 changed files with 1 additions and 1 deletions

View File

@ -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``.