From 5d90387cf33bc8cd5431c81283b9b6ad5b34ce8d Mon Sep 17 00:00:00 2001 From: Darren Burns Date: Fri, 2 Apr 2021 19:43:39 +0100 Subject: [PATCH] Docs fix --- docs/source/guide/writing_tests.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/guide/writing_tests.rst b/docs/source/guide/writing_tests.rst index 52f35db8..145a1754 100644 --- a/docs/source/guide/writing_tests.rst +++ b/docs/source/guide/writing_tests.rst @@ -233,7 +233,7 @@ next to the test name/description during the run :: To conditionally skip a test in some circumstances (for example, on specific OS's), you can supply a ``when`` predicate to the ``@skip`` decorator. This can be either a boolean or a Callable, and will be evaluated just before the test is scheduled to be executed. If it -evaluates to ``False``, the test will be skipped. Otherwise the test will run as normal. +evaluates to ``True``, the test will be skipped. Otherwise the test will run as normal. Here's an example of a test that is skipped on Windows: