From a1277aaf0e0be3cf9e2834378422929abb4c4426 Mon Sep 17 00:00:00 2001 From: palaviv Date: Tue, 15 Mar 2016 23:42:25 +0200 Subject: [PATCH] added TODO comment to remove the parametrized workaround --- _pytest/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/_pytest/main.py b/_pytest/main.py index f3f3be2c1..8654d7af6 100644 --- a/_pytest/main.py +++ b/_pytest/main.py @@ -718,6 +718,7 @@ class Session(FSCollector): if rep.passed: has_matched = False for x in rep.result: + # TODO: remove parametrized workaround once collection structure contains parametrization if x.name == name or x.name.split("[")[0] == name: resultnodes.extend(self.matchnodes([x], nextnames)) has_matched = True