Skip to content

Commit 8faee6b

Browse files
committed
Remvoe TODO, as we fixed this now
1 parent 62e60c6 commit 8faee6b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pytest_bdd/steps.py

-3
Original file line numberDiff line numberDiff line change
@@ -192,9 +192,6 @@ def fin() -> None:
192192
request.addfinalizer(fin)
193193

194194
# inject fixture definition
195-
# TODO: This seems wrong, since pytest treats the last elements as the highest priority ones
196-
# request._fixturemanager._arg2fixturedefs.setdefault(arg, []).insert(0, fd)
197-
# This seems more correct:
198195
request._fixturemanager._arg2fixturedefs.setdefault(arg, []).append(fd)
199196

200197
# inject fixture value in request cache

0 commit comments

Comments
 (0)