From 8d69964a4c98d9e48592a2b6ac81e4519c6268d2 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 20:02:51 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- doc/en/reference/reference.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/en/reference/reference.rst b/doc/en/reference/reference.rst index c78ebf8c1..f6dabb245 100644 --- a/doc/en/reference/reference.rst +++ b/doc/en/reference/reference.rst @@ -241,7 +241,7 @@ Marks a test function as *expected to fail*. .. py:function:: pytest.mark.xfail(condition=False, *, reason=None, raises=None, run=True, strict=xfail_strict) - :keyword Union[bool, str] condition: + :keyword Union[bool, str] condition: Condition for marking the test function as xfail (``True/False`` or a :ref:`condition string `). If a ``bool``, you also have to specify ``reason`` (see :ref:`condition string `).