]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-28249: fix `lineno` location for empty `DocTest` instances (GH-30498)
authorNikita Sobolev <mail@sobolevn.me>
Thu, 19 May 2022 15:46:15 +0000 (18:46 +0300)
committerGitHub <noreply@github.com>
Thu, 19 May 2022 15:46:15 +0000 (17:46 +0200)
commit8db2b3b6878aba9f12844526bce966b7eed81aee
treec25ebe4f9cb418ece49f9c84207cc1679462e7b0
parent09be18a73d81aa82cc57a782f3b0a9811e43ad3b
bpo-28249: fix `lineno` location for empty `DocTest` instances (GH-30498)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Co-authored-by: Ɓukasz Langa <lukasz@langa.pl>
Lib/doctest.py
Lib/test/doctest_lineno.py [new file with mode: 0644]
Lib/test/test_doctest.py
Misc/NEWS.d/next/Library/2022-01-09-14-23-00.bpo-28249.4dzB80.rst [new file with mode: 0644]