You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test re-ordering introduced in response to #214 seems to execute after pytest's own --failed-first, --new-first, --stepwise, etc. ordering options, breaking them.
We ran across this in mdn/kuma#6531, where even with --failed-first pytest was running dozens of known good tests before executing the failed tests.
Removing the pytest_collection_modifyitems function or decorating it with @pytest.hookimpl(tryfirst=True) seems to resolve this, though I'm not familiar enough with pytest to know if that's an appropriate solution, or if there's something we should be doing on our end instead.