Skip to content

Commit d8db8e4

Browse files
committed
Improve copy-paste docstring from 8756cc4
Signed-off-by: Stavros Ntentos <[email protected]>
1 parent 8edad60 commit d8db8e4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/input/unused-argument/func_param_as_fixture_arg.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,8 @@ def test_nyfix(narg): # unused-argument
2727

2828
@pytest.mark.parametrize("arg", [1, 2, 3])
2929
def test_narg_is_used_nowhere(myfix, narg):
30-
"""A test function that uses the param through a fixture"""
30+
"""
31+
A test function that does not use its param (``narg``):
32+
Not itself, nor through a fixture (``myfix``).
33+
"""
3134
assert myfix

0 commit comments

Comments
 (0)