New submission from wabba <riverfullofg...@hotmail.com>:
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. ---------- components: Tests messages: 335748 nosy: wabba priority: normal severity: normal status: open title: test_help_with_metavar broken versions: Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36014> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com