]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-111881: Use lazy import in test.support (#111885) (#111890)
authorVictor Stinner <vstinner@python.org>
Thu, 9 Nov 2023 15:23:58 +0000 (16:23 +0100)
committerGitHub <noreply@github.com>
Thu, 9 Nov 2023 15:23:58 +0000 (15:23 +0000)
commite983ca859de279682631dbb13b959f14a7d89a7b
tree1a3fd9aa2469d5366ad896e50dcad57d02fcf46d
parente0d827d479ae9970a3e80258d11667fe42f85039
[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
* Only import ctypes on Windows in test.support.os_helper.

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