]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-114107: test.pythoninfo logs Windows Developer Mode (GH-114121) (#114128)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 16 Jan 2024 16:43:50 +0000 (17:43 +0100)
committerGitHub <noreply@github.com>
Tue, 16 Jan 2024 16:43:50 +0000 (16:43 +0000)
commitddc9e34c53d442d3da9af67759dc3f6707239630
tree6f5994897b54f645898ea8faa3e35d532531a57f
parentd42e54e9d60b3343b48458faa2ab10ac9de78889
[3.11] gh-114107: test.pythoninfo logs Windows Developer Mode (GH-114121) (#114128)

gh-114107: test.pythoninfo logs Windows Developer Mode (GH-114121)

Also, don't skip the whole collect_windows() if ctypes is missing.

Log also ctypes.windll.shell32.IsUserAnAdmin().
(cherry picked from commit c77f552ec02040dfe14a0a3cb743d96eedffadec)

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/pythoninfo.py