Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

It considers `\r\n` as a blank line. It just doesn't consider `\r\n` as `\n` in 
a non-blank line.

If add `\r` after `some text` the test will pass. Or use NORMALIZE_WHITESPACE.

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32097>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to