]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-111881: Use lazy import in test.support (#111885) (#111890) (#111902)
authorVictor Stinner <vstinner@python.org>
Thu, 9 Nov 2023 16:46:27 +0000 (17:46 +0100)
committerGitHub <noreply@github.com>
Thu, 9 Nov 2023 16:46:27 +0000 (16:46 +0000)
commitf108976ebbfe28bc5c9a62d95555c7adc396b82f
treeb8c117210f188463e13f920ca59ccd6dada3275d
parent63205e5692041c59283b8fa667310d12fd5846ee
[3.11] gh-111881: Use lazy import in test.support (#111885) (#111890) (#111902)

[3.12] gh-111881: Use lazy import in test.support (#111885) (#111890)

gh-111881: Use lazy import in test.support (#111885)

* Import lazily getpass in test.support

Backport to 3.11: test.support.os_helper is unchanged.

(cherry picked from commit 0372e3b02a7e3dc1c564dba94dcd817c5472b04f)
(cherry picked from commit e983ca859de279682631dbb13b959f14a7d89a7b)
Lib/test/support/__init__.py