[issue36014] test_help_with_metavar broken

2019-02-18 Thread paul j3
Change by paul j3 : -- nosy: +paul.j3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org

[issue36014] test_help_with_metavar broken

2019-02-16 Thread wabba
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/74102c9a5f232

[issue36014] test_help_with_metavar broken

2019-02-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the details. I couldn't reproduce this on a clean v3.7.2 build on Mac. There were also no changes to argparse.py between 3.7.0 and 3.7.2 so I don't know why it's failing on your environment. ➜ cpython git:(9a3ffc0492) git log v3.7.0..v3.

[issue36014] test_help_with_metavar broken

2019-02-16 Thread wabba
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__.TestActionUserDe

[issue36014] test_help_with_metavar broken

2019-02-16 Thread wabba
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 ___

[issue36014] test_help_with_metavar broken

2019-02-16 Thread wabba
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

[issue36014] test_help_with_metavar broken

2019-02-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Tests were added with 842985f6c70484ed7b8fc30d0bc05aec73236a98 and passes on master and 3.7.1 . Can you please add the full traceback and the command you used to run the test? Also the output of python version as below to try reproducing it pyth

[issue36014] test_help_with_metavar broken

2019-02-16 Thread wabba
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] [--proxy \n' If I change "this_is_spammy_prog_with_a_long_name_sorry