allure-python icon indicating copy to clipboard operation
allure-python copied to clipboard

items[:] assigned values twice in pytest_collection_modifyitems

Open huornlmj opened this issue 6 years ago • 1 comments

https://github.com/allure-framework/allure-python/blob/6443d52affc92944aa156345e35f1f9c6d2dfef3/allure-pytest/src/plugin.py#L165

items[:] = select_by_testcase(items) < assigned items[:] = select_by_labels(items, config) < assigned again immediately

Intentional or bug?

huornlmj avatar Nov 29 '19 18:11 huornlmj

This hook implementation requires sorting the items list in-place

symonk avatar Jul 14 '21 23:07 symonk

The code-in-question has changed in #628

delatrie avatar Dec 05 '22 11:12 delatrie