Skip to content

Commit a1277aa

Browse files
committed
added TODO comment to remove the parametrized workaround
1 parent 981fcb2 commit a1277aa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

_pytest/main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -718,6 +718,7 @@ def _matchnodes(self, matching, names):
718718
if rep.passed:
719719
has_matched = False
720720
for x in rep.result:
721+
# TODO: remove parametrized workaround once collection structure contains parametrization
721722
if x.name == name or x.name.split("[")[0] == name:
722723
resultnodes.extend(self.matchnodes([x], nextnames))
723724
has_matched = True

0 commit comments

Comments
 (0)