Update skipping.rst with correct version marker

This commit is contained in:
Michael Aquilina 2015-09-23 15:04:04 +01:00
parent 771aef9ddb
commit abc27f56fc
1 changed files with 3 additions and 1 deletions

View File

@ -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():