]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-114107: test.pythoninfo logs Windows Developer Mode (GH-114121) (#114129)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 16 Jan 2024 16:53:29 +0000 (17:53 +0100)
committerGitHub <noreply@github.com>
Tue, 16 Jan 2024 16:53:29 +0000 (16:53 +0000)
commit1d5bca65e26419dfc911a636f81b37379b111f8a
tree2bf3b894e83b891fb4e686c56d1fb433cc7077a7
parent3eeab87feba51c7ef6c87a374874a21d11835d6d
[3.12] gh-114107: test.pythoninfo logs Windows Developer Mode (GH-114121) (#114129)

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