Delete trailing whitespace
This commit is contained in:
parent
61b8443723
commit
5ec08d3081
|
@ -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::
|
||||
|
|
Loading…
Reference in New Issue