AttributeError: 'list' object has no attribute 'items' in _pytest.runner.SetupState.setup
#238
Labels
help wanted
a pull request to fix this issue is welcome
Upon running my test suite, I sometimes get these errors:
The error happens on random tests (not always the same ones), sometimes on a single test, sometimes on many more.
My repo: https://github.com/pawamoy/aria2p.
My config:
Operating system: Linux.
Pytest and plugins:
All packages
I tried disabling/enabling plugins to see from which it could come, and it seems to only happen when
rerunfailures
is enabled. Besides, I see code in it that could explain the error:The error seems to happen when a test fails and therefore the rerun machinery kicks in.
The text was updated successfully, but these errors were encountered: