[issue10470] python -m unittest ought to default to discovery

Michael Foord report at bugs.python.org
Mon Nov 22 11:51:14 CET 2010


Michael Foord <michael at voidspace.org.uk> added the comment:

Eli - I quite agree. TestProgram is a *particularly* obscure part of unittest. A much better solution (well - both would be ideal) would be to refactor the code so that it isn't so obscure.

TestProgram is an artefact of unittest's history and should be a series of functions rather than a class.

----------

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


More information about the Python-bugs-list mailing list