This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients barry, ezio.melotti, michael.foord, pitrou, serhiy.storchaka
Date 2013-05-14.23:04:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1368572664.89.0.748859783081.issue17974@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-05-14 23:04:24serhiy.storchakasetrecipients: + serhiy.storchaka, barry, pitrou, ezio.melotti, michael.foord
2013-05-14 23:04:24serhiy.storchakasetmessageid: <1368572664.89.0.748859783081.issue17974@psf.upfronthosting.co.za>
2013-05-14 23:04:24serhiy.storchakalinkissue17974 messages
2013-05-14 23:04:24serhiy.storchakacreate