Skip to content

Commit a8570cb

Browse files
pytest.param: update docs from marked
1 parent 485b612 commit a8570cb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/en/parametrize.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ for example with the builtin ``mark.xfail``::
9494
@pytest.mark.parametrize("test_input,expected", [
9595
("3+5", 8),
9696
("2+4", 6),
97-
pytest.marked(("6*9", 42), pytest.mark.xfail),
97+
pytest.param("6*9", 42,
98+
marks=pytest.mark.xfail),
9899
])
99100
def test_eval(test_input, expected):
100101
assert eval(test_input) == expected

0 commit comments

Comments
 (0)