wabba added the comment:
Figured it out. My shell had the COLUMNS environment variable set, and python
was inheriting it in os.environ. The failing test case assumes an 80-column
screen.
Anyway, looks like it has been fixed for 3.8 here:
https://github.com/python/cpython/commit
wabba added the comment:
Ah sorry, forgot the traceback and command:
Command: python3 Lib/test/test_argparse.py
test (__main__.TestActionRegistration) ... ok
test_failures_many_groups_listargs (__main__.TestActionUserDefined) ... ok
test_failures_many_groups_sysargs (__main__
wabba added the comment:
Btw, I am running 3.7.2 because that's the latest version offered on
https://www.python.org/downloads/
--
___
Python tracker
<https://bugs.python.org/is
wabba added the comment:
Output from running "python3 -m test.pythoninfo | grep 'sys.version:'":
sys.version: 3.7.2 (default, Feb 17 2019, 11:51:43) [GCC 4.8.5 20150623 (Red
Hat 4.8.5-28)]
--
___
Python tracker
<
New submission from wabba :
The test_help_with_metavar test appears to be broken.
It fails with an assertion error:
AssertionError: 'usag[55 chars]_name [-h] [--proxy
]\[113 chars]4>\n' != 'usag[55 chars]_name\n [-h]
[--prox