Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
marker expressions use the legacy mark storage #3441
I am currently chasing an issue which is very similar to the (apparently solved) #568 and the not yet solved #2947. I was happy to discover pull request #3317 and switched to the
import pytest class BaseTests(object): def test_something(self): pass @pytest.mark.FOO class TestFooClass(BaseTests): pass @pytest.mark.BAR class TestBarClass(BaseTests): pass
If I reverse the order of
My environment is Ubuntu Linux 17.10 with python 3.6.3, in a fresh virtualenv with only pytest@features installed.
Thanks for your time and please let me know if I can provide further information.
GitMate.io thinks possibly related issues are #725 (Markers are transferred from subclasses to base class methods), #2947 (Marking subclass affected methods of parent class.), #568 (markers stains on all related classes), #2515 (Custom marker kwargs for test case method is overwritten from class marker.), and #3359 (Allow methods to access a class fixture. ).