test_help_with_metavar (test.test_argparse.TestWrappingMetavar) ... FAIL ====================================================================== FAIL: test_help_with_metavar (test.test_argparse.TestWrappingMetavar) ---------------------------------------------------------------------- Traceback (most recent call last): File "/x/portage/dev-lang/python-3.6.6/work/Python-3.6.6/Lib/test/test_argparse.py", line 5018, in test_help_with_metavar ''')) AssertionError: 'usag[55 chars]_name [-h]\n [179 chars]4>\n' != 'usag[55 chars]_name\n [-h] [--proxy <http[s]://example[121 chars]4>\n' - usage: this_is_spammy_prog_with_a_long_name_sorry_about_the_name [-h] ? ----- + usage: this_is_spammy_prog_with_a_long_name_sorry_about_the_name - [--proxy <http[s]://example:1234>] + [-h] [--proxy <http[s]://example:1234>] optional arguments: -h, --help show this help message and exit --proxy <http[s]://example:1234>
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ea660380f5a1dfd9b9c00fa9ac2f6f2281cc97c commit 4ea660380f5a1dfd9b9c00fa9ac2f6f2281cc97c Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2018-07-04 16:18:38 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2018-07-04 16:18:38 +0000 dev-lang/python: work around bug in test_help_with_metavar Bug: https://bugs.gentoo.org/660358 Package-Manager: Portage-2.3.40_p15, Repoman-2.3.9_p247 dev-lang/python/python-3.6.6.ebuild | 3 +++ 1 file changed, 3 insertions(+)