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 r.david.murray
Recipients bkabrda, michael.foord, r.david.murray
Date 2012-06-26.14:11:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1340719865.96.0.424695869476.issue15178@psf.upfronthosting.co.za>
In-reply-to
Content
Ah, right, I misread the code when I looked at it.

There is usually a reason why something is done the way it is...though not always.  But, running some example command lines, it looks to me like the current behavior is there because without it, you won't notice if the tests in the middle of your list of files failed.  So, I think your second patch is more what we need.  However, rather than calling sys.exit, I think it would be better to just print the message and do a return 1.

It is also possible we shouldn't change it at all.  unittest (which has had some thought put in to the commnd line interface) just ends in a traceback in a similar situation (except that in unittest's case it is an ImportError...)
History
Date User Action Args
2012-06-26 14:11:06r.david.murraysetrecipients: + r.david.murray, michael.foord, bkabrda
2012-06-26 14:11:05r.david.murraysetmessageid: <1340719865.96.0.424695869476.issue15178@psf.upfronthosting.co.za>
2012-06-26 14:11:05r.david.murraylinkissue15178 messages
2012-06-26 14:11:04r.david.murraycreate