how markerts should behave when facing double inheritance. #8400
-
Dear Community, I am acknoledging the current behavior and i would like to verify that it is what should be expected in the current situation. Let's have some example :
When printing the marker list applied to class C i get :
When printing the marker list applied to class C i get : Regards |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
marker extraction currently does not handle inheritance adequately i believe, i'll crosscheck edit a temporary workaround is to copy together the pytestmark attributes of both base classes to get all marks on the class, |
Beta Was this translation helpful? Give feedback.
marker extraction currently does not handle inheritance adequately i believe, i'll crosscheck
edit
a temporary workaround is to copy together the pytestmark attributes of both base classes to get all marks on the class,
if you choose that solution please link the discussion or the issue i created so its clear its a workaround for a bug/oversight