This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients martin.panter
Date 2014-12-16.05:12:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1418706736.64.0.85644160224.issue23062@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-12-16 05:12:16martin.pantersetrecipients: + martin.panter
2014-12-16 05:12:16martin.pantersetmessageid: <1418706736.64.0.85644160224.issue23062@psf.upfronthosting.co.za>
2014-12-16 05:12:16martin.panterlinkissue23062 messages
2014-12-16 05:12:16martin.pantercreate