Antoine Pitrou added the comment:

I think the better solution would be to fix the test inheritance hierarchy: 
only concrete test classes should inherit from unittest.TestCase.

Then the code can be simplified by simply calling unittest.main(__name__).

----------
nosy: +pitrou
stage:  -> patch review
versions: +Python 3.4 -Python 3.2

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14407>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to