[issue14534] Add method to mark unittest.TestCases as "do not run".

Michael Foord report at bugs.python.org
Wed Jun 18 01:05:04 CEST 2014


Michael Foord added the comment:

My suggested solution is a class decorator you use on your base class that means "don't run tests from this class". 


@unittest.base_class
class MyTestBase(TestCase):
    pass

Not quite sure how that's sophisticated or confusing... Are you confusing the way it's used with my suggested implementation?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14534>
_______________________________________


More information about the Python-bugs-list mailing list