]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-111159: Fix `SyntaxError` doctests for non-builtin exception classes (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 4 Nov 2023 10:21:06 +0000 (11:21 +0100)
committerGitHub <noreply@github.com>
Sat, 4 Nov 2023 10:21:06 +0000 (10:21 +0000)
commit3b839ccfdfb6db8faf832add17e7a9b6c517230a
treea2a9eda5f1a36d405d675fbccb3efe087f5571f6
parentd15fac2a6798d0cd149c1cb3c36167863cbc19e3
[3.12] gh-111159: Fix `SyntaxError` doctests for non-builtin exception classes (GH-111541) (#111732)

gh-111159: Fix `SyntaxError` doctests for non-builtin exception classes (GH-111541)
(cherry picked from commit 18c954849bcdd5acb6ef91cd90d92f3b5c685134)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Lib/doctest.py
Lib/test/test_doctest.py
Misc/NEWS.d/next/Library/2023-11-04-10-24-25.gh-issue-111541.x0RBI1.rst [new file with mode: 0644]