Merge pull request #5674 from helloocc/master

Doc fix: remove redundant parentheses.
This commit is contained in:
Florian Bruhin
2019-07-30 10:46:29 +02:00
committed by GitHub

View File

@@ -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