def pytest_collection_modifyitems(session, config, items):
 new_items = []
 last_items = []
 for item in items:
  if hasattr(item.obj, 'first'):
   new_items.insert(0, item)
  elif hasattr(item.obj, 'last'):
   last_items.append(item)
  else:
   new_items.append(item)
 items[:] = (new_items + last_items)

def pytest_collection_modifyitems ( session , config , items ) : new_items = [ ] last_items = [ ] for item in items : if hasattr ( item . obj , 'first' ) : new_items . insert ( 0 , item ) elif hasattr ( item . obj , 'last' ) : last_items . append ( item ) else : new_items . append ( item ) items [ : ] = ( new_items + last_items )
apply @qtwebengine_* markers; skip unittests with qute_bdd_webengine .