[3.12] gh-111881: Import doctest lazily in libregrtest (GH-111884) (#111893)
gh-111881: Import doctest lazily in libregrtest (GH-111884) In most cases, doctest is not needed. So don't always import it at startup. The change reduces the number of modules already imported when a test is run. (cherry picked from commit 6f09f69b7f85962f66d10637c3325bbb2b2d9853) Co-authored-by: Victor Stinner <vstinner@python.org>
M
Miss Islington (bot) committed
5089faf954d2c6c07e1acfd5d270c331f7c6acdc
Parent: e983ca8
Committed by GitHub <noreply@github.com>
on 11/9/2023, 3:40:10 PM