Skip to content

Commit f465656

Browse files
pytestplugin/hooks: drop setting of unused variable from pytest_collection_modifyitems
have_feature is set a few lines below without consideration of its previous value, so drop this statement. Signed-off-by: Bastian Krause <[email protected]>
1 parent 3fe80b0 commit f465656

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

labgrid/pytestplugin/hooks.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ def pytest_configure(config):
5353
def pytest_collection_modifyitems(config, items):
5454
"""This function matches function feature flags with those found in the
5555
environment and disables the item if no match is found"""
56-
have_feature = []
5756
env = config._labgrid_env
5857

5958
if not env:

0 commit comments

Comments
 (0)