Closed
Description
Originally reported by: Markus Unterwaditzer (BitBucket: untitaker, GitHub: untitaker)
Given this class hierarchy:
import pytest
class Foo(object):
def test_lol(self):
pass
@pytest.mark.skipif(False, reason='BECAUSE')
class TestBar(Foo):
pass
@pytest.mark.skipif(True, reason='BECAUSE')
class TestBaz(Foo):
pass
py.test will skip the single testcase of both TestBar and TestBaz.