diff --git a/src/_pytest/compat.py b/src/_pytest/compat.py index f0b0d548f..085f634a4 100644 --- a/src/_pytest/compat.py +++ b/src/_pytest/compat.py @@ -143,12 +143,12 @@ def getfuncargnames( the case of cls, the function is a static method. The name parameter should be the original name in which the function was collected. - - @RonnyPfannschmidt: This function should be refactored when we - revisit fixtures. The fixture mechanism should ask the node for - the fixture names, and not try to obtain directly from the - function object well after collection has occurred. """ + # TODO(RonnyPfannschmidt): This function should be refactored when we + # revisit fixtures. The fixture mechanism should ask the node for + # the fixture names, and not try to obtain directly from the + # function object well after collection has occurred. + # The parameters attribute of a Signature object contains an # ordered mapping of parameter names to Parameter instances. This # creates a tuple of the names of the parameters that don't have