Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Layered test checker doesn't diagnose three-layer cakes #48

Open
nedbat opened this issue Oct 5, 2016 · 0 comments
Open

Layered test checker doesn't diagnose three-layer cakes #48

nedbat opened this issue Oct 5, 2016 · 0 comments

Comments

@nedbat
Copy link
Contributor

nedbat commented Oct 5, 2016

This code runs two tests in nose and pytest:

# Three-layer cake.

class BaseTest(unittest.TestCase):
    __test__ = False
    def test_it(self):
        self.fail("Hello, world!")

class Middle(BaseTest):
    __test__ = True

class MoreTests(Middle):
    __test__ = True

but the layered test checker doesn't detect it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant