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

Michael Foord report at bugs.python.org
Mon Apr 9 22:42:09 CEST 2012


Michael Foord <michael at voidspace.org.uk> added the comment:

So the technique I suggested is that the TestLoader checks classes for the "testbase" (or whatever we call it) *in the class dict*. So inheritance doesn't matter - a class is only excluded from test loading if it has the attribute directly.

----------

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


More information about the Python-bugs-list mailing list