From dc7153e33cc89895311637a2f57e878549d4d6ca Mon Sep 17 00:00:00 2001 From: Michael Aquilina Date: Mon, 21 Sep 2015 15:33:48 +0100 Subject: [PATCH] Spelling and grammar fixes --- doc/en/skipping.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/en/skipping.rst b/doc/en/skipping.rst index fb416d3e0..ffb5732b7 100644 --- a/doc/en/skipping.rst +++ b/doc/en/skipping.rst @@ -29,7 +29,7 @@ corresponding to the "short" letters shown in the test progress:: Marking a test function to be skipped ------------------------------------------- -The simplest way to skip a function is to mark it with the `skip` decorator +The simplest way to skip a test function is to mark it with the `skip` decorator (added in 2.8) which may be passed an optional `reason`: @pytest.mark.skip(reason="no way of currently testing this") @@ -39,7 +39,7 @@ The simplest way to skip a function is to mark it with the `skip` decorator .. versionadded:: 2.0, 2.4 If you wish to skip something conditionally then you can use `skipif` instead. -Here is an example of marking a test function to bwe skipped +Here is an example of marking a test function to be skipped when run on a Python3.3 interpreter:: import sys