From abc27f56fcb49bd419dfd09b0492509fa0555684 Mon Sep 17 00:00:00 2001 From: Michael Aquilina Date: Wed, 23 Sep 2015 15:04:04 +0100 Subject: [PATCH] Update skipping.rst with correct version marker --- doc/en/skipping.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/en/skipping.rst b/doc/en/skipping.rst index ffb5732b7..25e3c8116 100644 --- a/doc/en/skipping.rst +++ b/doc/en/skipping.rst @@ -29,8 +29,10 @@ corresponding to the "short" letters shown in the test progress:: Marking a test function to be skipped ------------------------------------------- +.. versionadded:: 2.9 + 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`: +which may be passed an optional `reason`: @pytest.mark.skip(reason="no way of currently testing this") def test_the_unknown():