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

Eli Bendersky report at bugs.python.org
Sun Nov 21 13:24:16 CET 2010


Eli Bendersky <eliben at gmail.com> added the comment:

I'm attaching a patch for unittest/main.py that implements this.

However, something is funny with the tests of the unittest module. When the patch is applied and the tests are run through regrtest.py, it complains that sys.path is modified. I'm investigating this now.

----------
keywords: +patch
Added file: http://bugs.python.org/file19738/unittest.main.diff

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


More information about the Python-bugs-list mailing list