]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-128816: Fix warnings in test_doctest (GH-128817)
authorThomas Grainger <tagrain@gmail.com>
Wed, 15 Jan 2025 13:05:59 +0000 (13:05 +0000)
committerGitHub <noreply@github.com>
Wed, 15 Jan 2025 13:05:59 +0000 (15:05 +0200)
commit599be687ec7327c30c6469cf743aa4ee9e82232d
tree1519014d3ffb4c168b78bdb79a638a27f4601aec
parent1a1056d394a489d229b26c06c7c79aa9c06696f6
gh-128816: Fix warnings in test_doctest (GH-128817)

* Fix a deprecation warning for using importlib.resources.abc.ResourceReader.
* Fix an import warning when importing readline (if it has not yet been imported).
Lib/test/test_doctest/test_doctest.py