Antoine Pitrou added the comment:
I don't understand:
+ expect = ("this-|is-a-useful-|feature-|for-|"
+ "reformatting-|posts-|from-|tim-|peters'ly").split('|')
+ self.check_wrap(text, 1, expect, break_long_words=False)
+ self.check_split(text, expect)
Why would "is-a-useful" remain unsplit? It looks like you're making up new
rules.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue22687>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com