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

Antoine Pitrou report at bugs.python.org
Mon Apr 9 19:24:10 CEST 2012


Antoine Pitrou <pitrou at free.fr> added the comment:

> A decorator would be provided that sets the attribute to False, since
> that would make it visually obvious which TestCases are base classes
> and not to be loaded.

What's the point? Just derive from TestCase in the derived classes, not the base classes.
-1 on useless complication.

----------
nosy: +pitrou

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


More information about the Python-bugs-list mailing list