diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-11-09 15:40:10 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-09 15:40:10 (GMT) |
commit | 5089faf954d2c6c07e1acfd5d270c331f7c6acdc (patch) | |
tree | 7cb5d58ccdda361449dbbffd3b0c74c6a7629714 /Python/pymath.c | |
parent | e983ca859de279682631dbb13b959f14a7d89a7b (diff) | |
download | cpython-5089faf954d2c6c07e1acfd5d270c331f7c6acdc.zip cpython-5089faf954d2c6c07e1acfd5d270c331f7c6acdc.tar.gz cpython-5089faf954d2c6c07e1acfd5d270c331f7c6acdc.tar.bz2 |
[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>
Diffstat (limited to 'Python/pymath.c')
0 files changed, 0 insertions, 0 deletions