New submission from Filip Rembiałkowski <filip.rembialkow...@gmail.com>:
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 ---------- components: Library (Lib) files: doctest-bugs.py messages: 366554 nosy: Filip Rembiałkowski priority: normal severity: normal status: open title: doctest handling of multiline strings is broken type: behavior versions: Python 2.7, Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9 Added file: https://bugs.python.org/file49065/doctest-bugs.py _______________________________________ 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