]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-134857: Improve error report for doctests run with unittest (GH-134858)
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 29 May 2025 21:32:44 +0000 (00:32 +0300)
committerGitHub <noreply@github.com>
Thu, 29 May 2025 21:32:44 +0000 (00:32 +0300)
commitcb8a72b301f47e76d93a7fe5b259e9a5758792e1
tree9d5e4c77e0a1665bf9e41aaaba4e3a08423fac2d
parentdafd14146f7ca18932894ea445a2f9f98f2a8b01
gh-134857: Improve error report for doctests run with unittest (GH-134858)

Remove doctest module frames from tracebacks and redundant newline
character from a failure message.
Lib/doctest.py
Lib/test/test_doctest/test_doctest.py
Misc/NEWS.d/next/Library/2025-05-28-20-49-29.gh-issue-134857.dVYXVO.rst [new file with mode: 0644]