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 wabba
Recipients wabba
Date 2019-02-17.04:47:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1550378852.92.0.619862991077.issue36014@roundup.psfhosted.org>
In-reply-to
Content
The test_help_with_metavar test appears to be broken.

It fails with an assertion error:
AssertionError: 'usag[55 chars]_name [-h] [--proxy <http[s]://example:1234>]\[113 chars]4>\n' != 'usag[55 chars]_name\n       [-h] [--proxy <http[s]://example[121 chars]4>\n'

If I change 
"this_is_spammy_prog_with_a_long_name_sorry_about_the_name
                   [-h] [--proxy <http[s]://example:1234>]"

to

"this_is_spammy_prog_with_a_long_name_sorry_about_the_name [-h] [--proxy <http[s]://example:1234>]"

i.e. move the part starting with '[-h]' onto the same line, the test passes. 

What is the correct output expected here? I would think the [-h] should be on the same line, but maybe this is intended behavior and the problem is with my system. No other unit test is failing for me though.
History
Date User Action Args
2019-02-17 04:47:32wabbasetrecipients: + wabba
2019-02-17 04:47:32wabbasetmessageid: <1550378852.92.0.619862991077.issue36014@roundup.psfhosted.org>
2019-02-17 04:47:32wabbalinkissue36014 messages
2019-02-17 04:47:32wabbacreate