#4897 (Text width of "run --help" differs between Python 3.10 and Python on GitLab)
by Luc Saffre · in Developers · assigned to Sharif Mehedi
Kurzbeschreibung
Several doctests are currently failing on GitLab because of some difference refarding the text width to use when wrapping the output of --help of a django command. For example docs/specs/lino.rst
Kinder
Kommentare
- 3 Jahre, 7 Monate ago von Luc Saffre about #4897 (Text width of "run --help" differs between Python 3.10 and Python on GitLab) : Ha! The difference is "optional arguments:" versus "options:"! I now I remember that I actually had this problem fixed already some time ago...
- 3 Jahre, 7 Monate ago von Luc Saffre about #4897 (Text width of "run --help" differs between Python 3.10 and Python on GitLab) : I am actually not sure that the text width is the reason. I added a +REPORT_UDIFF in docs/ref/commands/dump2py.rst, let's see what this gives.
- 3 Jahre, 7 Monate ago von Sharif Mehedi about #4897 (Text width of "run --help" differs between Python 3.10 and Python on GitLab) : They might, I'll check.
- 3 Jahre, 7 Monate ago von Luc Saffre Antwort auf Sharif Mehedi about #4897 (Text width of "run --help" differs between Python 3.10 and Python on GitLab) : You mean to mark these cases with SKIP? Mnjah, but that will decrease our coverage score. Or using ELLIPSIS? Maybe, but they are difficult to maintain. Doesn't the subprocess call or the ConfigParser have an option for the width of the virtual terminal?
- 3 Jahre, 7 Monate ago von Sharif Mehedi about #4897 (Text width of "run --help" differs between Python 3.10 and Python on GitLab) (1 Antwort) : we should probably ignore this and since it's out of our hand.
- 3 Jahre, 7 Monate ago von Luc Saffre about #4897 (Text width of "run --help" differs between Python 3.10 and Python on GitLab) : The answer might lie somewhere here: [url docs.python.org/3/library/argparse.html#formatter-class].
- 3 Jahre, 7 Monate ago von Luc Saffre about #4897 (Text width of "run --help" differs between Python 3.10 and Python on GitLab) : Created new Ticket #4897 (Text width of "run --help" differs between Python 3.10 and Python on GitLab).