New submission from Jonathan Eunice: A rare case in textwrap when max_lines insufficient and textwrap needs to backtrack to a previous line to add the placeholder seems to lack test coverage.
This issue added as prereq for suggesting an additional test. PR imminent. Code: Lib/textwrap.py (as is) Test: Lib/test/test_textwrap.py (extended) ---------- components: Tests messages: 295354 nosy: jonathaneunice priority: normal severity: normal status: open title: textwrap: placeholder backtracking special case lacks test coverage type: enhancement versions: Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30591> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com