Michael Foord <mich...@voidspace.org.uk> added the comment:

The usage information in TestProgram in this patch is not correct. 

If __name__ != __main__ it should be unchanged - the new usage message
should only be displayed if unittest is run as __main__.

----------

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

Reply via email to