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
Revamp the internals of the pytest.mark implementation with correct per node handling which fixes a number of long standing bugs caused by the old design. This introduces new Node.iter_markers(name) and Node.get_closest_mark(name) APIs. Users are strongly encouraged to read the reasons for the revamp in the docs, or jump over to details about updating existing code to use the new APIs. (#3317)
to ensure that we don't hit these issues when using custom marks.
Activity
josef-pkt commentedon Sep 15, 2018
@bashtage
bashtage commentedon Sep 15, 2018
I think there was a fix that cane in at 36 but don't fit recall. Otoh upgrading pytest is pretty simple
bashtage commentedon Sep 15, 2018
This is the reason:
to ensure that we don't hit these issues when using custom marks.
josef-pkt commentedon Sep 15, 2018
Ok, I will update pytest soon.
pytest 3.6 is in the latest two Debian, so this should be fine without extra works
https://packages.debian.org/search?keywords=python3-pytest
jbrockmendel commentedon May 8, 2019
closeable?
bashtage commentedon May 8, 2019
No longer correct or relevant.