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

In TestProgram.usageExit the command name comes from:

        self.progName = os.path.basename(argv[0])

For test discovery the usage message is auto-generated by optparse. Probably 
using sys.argv[0].

----------

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

Reply via email to