Walter Dörwald added the comment: "\n \r\n \r \u2028".split() should have been "\n \r\n \r \u2028".split(" "), i.e. a list of different line ends.
> The purpose of these tests is not entirely clear, so I'm not sure that it is > properly grasped the idea of the author. I wrote the tests nearly 10 years ago, so it's no longer entirely clear to me either! ;) Anyway, here's a patch that fixes the resulting test failures. ---------- Added file: http://bugs.python.org/file33930/fix_linetests.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20520> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com