Skip to content

Commit 5b81bd8

Browse files
committed
minor: doc: getfuncargnames: move TODO out of docstring
1 parent eb5e651 commit 5b81bd8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/_pytest/compat.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,12 @@ def getfuncargnames(
143143
the case of cls, the function is a static method.
144144
145145
The name parameter should be the original name in which the function was collected.
146-
147-
@RonnyPfannschmidt: This function should be refactored when we
148-
revisit fixtures. The fixture mechanism should ask the node for
149-
the fixture names, and not try to obtain directly from the
150-
function object well after collection has occurred.
151146
"""
147+
# TODO(RonnyPfannschmidt): This function should be refactored when we
148+
# revisit fixtures. The fixture mechanism should ask the node for
149+
# the fixture names, and not try to obtain directly from the
150+
# function object well after collection has occurred.
151+
152152
# The parameters attribute of a Signature object contains an
153153
# ordered mapping of parameter names to Parameter instances. This
154154
# creates a tuple of the names of the parameters that don't have

0 commit comments

Comments
 (0)