SIGN IN SIGN UP

[3.12] gh-128816: Fix warnings in test_doctest (GH-128817) (GH-128871)

* 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>
M
Miss Islington (bot) committed
45b89bf0da69a1193e5c79029a118763512a1d04
Parent: 0308bcf
Committed by GitHub <noreply@github.com> on 1/16/2025, 9:09:13 AM