Filip Rembiałkowski <filip.rembialkow...@gmail.com> added the comment:
@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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40295> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com