Message189279
Discovery from a module importing main doesn't make sense (although from a *script* importing main it does).
So long as "python -m unittest -v" continues to launch discovery, and the "positional argument" form of discovery still works, then the new patch looks good. I'll try it out and confirm.
In general I agree with Antoine, the best way to improve the implementation of unittest.main is to provide a new discovery script (with supporting code that is then much easier to extend). |
|
Date |
User |
Action |
Args |
2013-05-15 09:36:27 | michael.foord | set | recipients:
+ michael.foord, barry, pitrou, ezio.melotti, berker.peksag, serhiy.storchaka |
2013-05-15 09:36:27 | michael.foord | set | messageid: <1368610587.08.0.548257304266.issue17974@psf.upfronthosting.co.za> |
2013-05-15 09:36:27 | michael.foord | link | issue17974 messages |
2013-05-15 09:36:26 | michael.foord | create | |
|