]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-115392: Fix doctest reporting incorrect line numbers for decorated function...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 14 Feb 2024 15:58:14 +0000 (16:58 +0100)
committerGitHub <noreply@github.com>
Wed, 14 Feb 2024 15:58:14 +0000 (15:58 +0000)
commit13af281a53bcf522f933afbbe6af4ed2da823943
treec77a1b6fe243ccb0debae63b5c856021a72506d7
parent59317167eba49d1378ee082506d5eafbfc29de35
[3.12] gh-115392: Fix doctest reporting incorrect line numbers for decorated functions (GH-115440) (#115459)

gh-115392: Fix doctest reporting incorrect line numbers for decorated functions (GH-115440)
(cherry picked from commit bb791c7728e0508ad5df28a90b27e202d66a9cfa)

Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
Lib/doctest.py
Lib/test/test_doctest/decorator_mod.py [new file with mode: 0644]
Lib/test/test_doctest/doctest_lineno.py
Lib/test/test_doctest/test_doctest.py
Misc/NEWS.d/next/Library/2024-02-13-18-27-03.gh-issue-115392.gle5tp.rst [new file with mode: 0644]