From 70cbce7ccc46eaee4b95e77cbbcf5c9f506b6308 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Sat, 28 Mar 2020 11:28:54 -0300 Subject: [PATCH] Quick doc fix on xfail reason parameter As per https://github.com/pytest-dev/pytest/pull/6957/files#r399564043 --- doc/en/skipping.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/en/skipping.rst b/doc/en/skipping.rst index db3c90ad5..1a85ecf07 100644 --- a/doc/en/skipping.rst +++ b/doc/en/skipping.rst @@ -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