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, serhiy.storchaka
Date 2020-04-15.22:52:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1586991170.56.0.417051882317.issue40295@roundup.psfhosted.org>
In-reply-to
Content
@Serhiy, Thank you for feedback. 

Yes the "testme" function (indeed trivial) works as expected - both in interactive Python interpreter and in script file. 

If you go to Lib/doctest.py, search for "string-identical" and debug my example there, you will see the problem is real.

I don't see an easy fix for the problem, I only suspect it's related to io.StringIO getvalue() method.
History
Date User Action Args
2020-04-15 22:52:50Filip Rembiałkowskisetrecipients: + Filip Rembiałkowski, serhiy.storchaka
2020-04-15 22:52:50Filip Rembiałkowskisetmessageid: <1586991170.56.0.417051882317.issue40295@roundup.psfhosted.org>
2020-04-15 22:52:50Filip Rembiałkowskilinkissue40295 messages
2020-04-15 22:52:50Filip Rembiałkowskicreate