Fixed text description above skipif's example
@pytest.mark.skipif's example's description (above the code) was the opposite of the condition in the code, fixed the description to match the code.
This commit is contained in:
parent
b7b9c54d27
commit
1ac1ee6fcb
|
@ -80,7 +80,7 @@ during import time.
|
||||||
|
|
||||||
If you wish to skip something conditionally then you can use ``skipif`` instead.
|
If you wish to skip something conditionally then you can use ``skipif`` instead.
|
||||||
Here is an example of marking a test function to be skipped
|
Here is an example of marking a test function to be skipped
|
||||||
when run on a Python3.6 interpreter::
|
when run on an interpreter earlier than Python3.6 ::
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
@pytest.mark.skipif(sys.version_info < (3,6),
|
@pytest.mark.skipif(sys.version_info < (3,6),
|
||||||
|
|
Loading…
Reference in New Issue