]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-128816: Fix warnings in test_doctest (GH-128817) (GH-128870)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 16 Jan 2025 08:57:14 +0000 (09:57 +0100)
committerGitHub <noreply@github.com>
Thu, 16 Jan 2025 08:57:14 +0000 (08:57 +0000)
commitc927fd9d2514adb0b0499c222062c77da79be146
tree12dd1f5030f6a5076038bb7d12c3f2fc7d168bb2
parent714b85136bf5974786e66730e5006b79ba6d6728
[3.13] gh-128816: Fix warnings in test_doctest (GH-128817) (GH-128870)

* Fix a deprecation warning for using importlib.resources.abc.ResourceReader.
* Fix an import warning when importing readline (if it has not yet been imported).
(cherry picked from commit 599be687ec7327c30c6469cf743aa4ee9e82232d)

Co-authored-by: Thomas Grainger <tagrain@gmail.com>
Lib/test/test_doctest/test_doctest.py