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

Daniel Stutzbach report at bugs.python.org
Mon Apr 9 19:45:09 CEST 2012


Daniel Stutzbach <stutzbach at google.com> added the comment:

Wouldn't the subclass inherit the False value?  Then the user would need to remember to override the value again in the subclass, which is error prone.

Antoine: I've used the pattern you describe on a couple of occasions, and it routinely confuses my code reviewers.

----------
nosy: +stutzbach

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


More information about the Python-bugs-list mailing list