[issue32097] doctest does not consider \r\n a

2017-11-24 Thread Terry J. Reedy

Change by Terry J. Reedy :


--
versions:  -Python 3.4, Python 3.5, Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32097] doctest does not consider \r\n a

2017-11-20 Thread Serhiy Storchaka

Serhiy Storchaka  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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32097] doctest does not consider \r\n a

2017-11-20 Thread Bert JW Regeer

New submission from Bert JW Regeer :

doctest fails to consider `\r\n` as a blank line.

--
components: Library (Lib)
files: test.py
messages: 306595
nosy: X-Istence
priority: normal
severity: normal
status: open
title: doctest does not consider \r\n a 
versions: Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8
Added file: https://bugs.python.org/file47280/test.py

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com