This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Filip Rembiałkowski
Recipients Filip Rembiałkowski
Date 2020-04-15.20:37:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1586983033.33.0.799206208911.issue40295@roundup.psfhosted.org>
In-reply-to
Content
The doctest module does not compare multiline strings properly, as attached example proves. 

Tested on 2.7, 3.6 and 3.9.0a5+. (platform: Ubuntu 18.04).

Related: https://stackoverflow.com/questions/60956015/unexpected-errors-while-testing-python3-code-with-doctest
History
Date User Action Args
2020-04-15 20:37:13Filip Rembiałkowskisetrecipients: + Filip Rembiałkowski
2020-04-15 20:37:13Filip Rembiałkowskisetmessageid: <1586983033.33.0.799206208911.issue40295@roundup.psfhosted.org>
2020-04-15 20:37:13Filip Rembiałkowskilinkissue40295 messages
2020-04-15 20:37:13Filip Rembiałkowskicreate