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 <rep...@bugs.python.org>
<http://bugs.python.org/issue14534>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to