R. David Murray <rdmur...@bitdance.com> added the comment:

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...)

----------
nosy: +michael.foord

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15178>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to