SIGN IN SIGN UP

[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>
M
Miss Islington (bot) committed
c927fd9d2514adb0b0499c222062c77da79be146
Parent: 714b851
Committed by GitHub <noreply@github.com> on 1/16/2025, 8:57:14 AM