Merged in dirn/pytest/dirn/adjust-syntax-for-parametrize-documentat-1380671670976 (pull request #72)

Adjust syntax for parametrize documentation
This commit is contained in:
holger krekel 2013-10-02 07:48:41 +02:00
commit 8f65418d34
1 changed files with 2 additions and 2 deletions

View File

@ -183,7 +183,7 @@ Skip/xfail with parametrize
---------------------------
It is possible to apply markers like skip and xfail to individual
test instances when using parametrize:
test instances when using parametrize::
import pytest
@ -191,7 +191,7 @@ test instances when using parametrize:
(1, 2),
pytest.mark.xfail((1, 0)),
pytest.mark.xfail(reason="some bug")((1, 3)),
(2, 3),
(2, 3),
(3, 4),
(4, 5),
pytest.mark.skipif("sys.version_info >= (3,0)")((10, 11)),