Zachary Ware added the comment:

Right, but in my experience, it seems like a lot of people do inherit from 
TestCase in their mixin anyway, possibly just to have the TestCase methods 
available for auto-completion in their IDE.  I've done the same, though I've 
remembered after writing the tests that I could remove TestCase as a base on 
the mixin.

On the other hand, I may be getting "base class" and "mixin" confused in this 
context and completely misunderstanding some aspect of the issue :)

Anyway, my suggestion was just the simplest change I could come up with makes 
the situation better from my point of view, but I do actually like the 
decorate-the-base-class method better anyway.

----------

_______________________________________
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