diff --git a/doc/en/example/markers.rst b/doc/en/example/markers.rst index 004e77add..218ef2707 100644 --- a/doc/en/example/markers.rst +++ b/doc/en/example/markers.rst @@ -336,7 +336,7 @@ apply a marker to an individual test instance: @pytest.mark.foo @pytest.mark.parametrize( - ("n", "expected"), [(1, 2), pytest.param((1, 3), marks=pytest.mark.bar), (2, 3)] + ("n", "expected"), [(1, 2), pytest.param(1, 3, marks=pytest.mark.bar), (2, 3)] ) def test_increment(n, expected): assert n + 1 == expected