[New-bugs-announce] [issue30591] textwrap: placeholder backtracking special case lacks test coverage

Jonathan Eunice report at bugs.python.org
Wed Jun 7 12:40:44 EDT 2017


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 <report at bugs.python.org>
<http://bugs.python.org/issue30591>
_______________________________________


More information about the New-bugs-announce mailing list