Message189254
Here is a patch which reimplement discovery command line handling in a i-hope-in-compatible-but-less-horrible way (and fixes some bugs). It is horrible still, but I doubt how many changes can I do without breaking compatibility. If _do_discovery() used only in tests, I can clean the code more.
I suppose discovery mode doesn't make sense when unittest.main() is called from a test module (i.e. "./python Lib/test/test_bisect.py discover"). At least USAGE_FROM_MODULE did not mention this mode. |
|
Date |
User |
Action |
Args |
2013-05-14 23:04:24 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, barry, pitrou, ezio.melotti, michael.foord |
2013-05-14 23:04:24 | serhiy.storchaka | set | messageid: <1368572664.89.0.748859783081.issue17974@psf.upfronthosting.co.za> |
2013-05-14 23:04:24 | serhiy.storchaka | link | issue17974 messages |
2013-05-14 23:04:24 | serhiy.storchaka | create | |
|