Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 660358 - dev-lang/python-3.6.6 fails test_help_with_metavar with 100 column terminal
Summary: dev-lang/python-3.6.6 fails test_help_with_metavar with 100 column terminal
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2018-07-04 16:05 UTC by Mike Gilbert
Modified: 2023-05-06 10:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Gilbert gentoo-dev 2018-07-04 16:05:37 UTC
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>
Comment 1 Larry the Git Cow gentoo-dev 2018-07-04 16:18:59 UTC
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(+)