--- you can reply above this line ---

New issue 199: Marks don't pick up nested classes
https://bitbucket.org/hpk42/pytest/issue/199/marks-dont-pick-up-nested-classes

Anonymous:

example:

{{{
#!python

@pytest.mark.a
class TestA:
    def test_b(self):
        assert True
    class TestC:
        def test_d(self):
            assert True
}}}

---
{{{
#!bash

$ py.test example.py -m a
}}}
only test_b is run. Not test_d


--

This is an issue notification from bitbucket.org. You are receiving
this either because you are the owner of the issue, or you are
following the issue.
_______________________________________________
py-dev mailing list
py-dev@codespeak.net
http://codespeak.net/mailman/listinfo/py-dev

Reply via email to