Message232712
In Lib/test/test_argparse.py:
class TestHelpVersionOptional(HelpTestCase):
"""Test that the --version argument can be suppressed help messages"""
Assuming that the docstring means something like “. . . can be suppressed _in_ help messages”, the test is wrong, because the --version option is present in the expected output. Maybe it is missing a help=SUPPRESS option? Otherwise it seems this test class would be largely redundant with TestHelpVersionAction.
It also looks like the “version” attribute of the test classes is not used. |
|
Date |
User |
Action |
Args |
2014-12-16 05:12:16 | martin.panter | set | recipients:
+ martin.panter |
2014-12-16 05:12:16 | martin.panter | set | messageid: <1418706736.64.0.85644160224.issue23062@psf.upfronthosting.co.za> |
2014-12-16 05:12:16 | martin.panter | link | issue23062 messages |
2014-12-16 05:12:16 | martin.panter | create | |
|