Message355336
The test I am going to add to test_argparse.py:
def test_whitespace_help(self):
parser = self._get_parser()
parser.add_argument(
'--foo2', action='store_true', help=' ')
parser.add_argument(
'bar2', type=float, help=' ')
parser.format_help() # raises an IndexError |
|
Date |
User |
Action |
Args |
2019-10-24 14:40:54 | Lucas Cimon | set | recipients:
+ Lucas Cimon |
2019-10-24 14:40:54 | Lucas Cimon | set | messageid: <1571928054.48.0.618310381662.issue38584@roundup.psfhosted.org> |
2019-10-24 14:40:54 | Lucas Cimon | link | issue38584 messages |
2019-10-24 14:40:54 | Lucas Cimon | create | |
|