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

Michael Foord report at bugs.python.org
Wed Jun 18 12:23:10 CEST 2014


Michael Foord added the comment:

To be honest, even though I understand it, I find the mixin pattern hard to read. You derive from object, but call methods (the assert methods for example) that don't exist in the class (or its inheritance chain).

My experience, with even experienced Python devs, is that they don't *properly* understand how to create mixins and they *much prefer* to write base classes that derive directly from TestCase. And then you have the problem that this issue is intended to resolve (and that we even have in the Python test suite).

----------

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


More information about the Python-bugs-list mailing list