[issue23994] argparse fails to detect program name when there is a slash at the end of the program's path

Mert Bora Alper report at bugs.python.org
Mon Apr 20 18:29:43 CEST 2015


Mert Bora Alper added the comment:

> Thanks for the patch.  We'll want a unit test for the behavior before committing this.

You're welcome. Since I have no experience in writing unit tests, I don't really know where to start but I will try to do my best.

I added bethard to the Nosy List, as he is the author of argparse's test.

(In addition, you may want to change cpython/Lib/test/test_argparse.py:2163 )

----------
nosy: +bethard

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23994>
_______________________________________


More information about the Python-bugs-list mailing list