Delete trailing whitespace

This commit is contained in:
Michael Aquilina 2015-09-21 15:29:50 +01:00
parent 61b8443723
commit 5ec08d3081
1 changed files with 7 additions and 7 deletions

View File

@ -29,15 +29,15 @@ corresponding to the "short" letters shown in the test progress::
Marking a test function to be skipped
-------------------------------------------
.. versionadded:: 2.0, 2.4
The simplest way to skip a function is to mark it with the `skip` decorator,
which may be passed an optional `reason`:
The simplest way to skip a 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")
def test_the_unknown():
...
.. 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
when run on a Python3.3 interpreter::