Closed
Description
Originally reported by: Ronny Pfannschmidt (BitBucket: RonnyPfannschmidt, GitHub: RonnyPfannschmidt)
when a method is inherited, markers will trasnfer from the subclass to the superclass
#!python
import pytest
class TestAClass(object):
def test_something(self):
assert True
@pytest.mark.skipif("True")
class TestBClass(TestAClass):
pass
class TestCClass(TestAClass):
pass
will skip in TestCClass (given by tradej on irc)
im not yet sure if there is a clear backward-compatible way to solve this