]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.10] bpo-45382: test.pythoninfo logs more Windows versions (GH-30891)
authorVictor Stinner <vstinner@python.org>
Tue, 25 Jan 2022 20:20:34 +0000 (21:20 +0100)
committerGitHub <noreply@github.com>
Tue, 25 Jan 2022 20:20:34 +0000 (21:20 +0100)
commit4a57fa296b92125e41220ecd201eb2e432b79fb0
treefce4aff44239bf3cceec9326fc33756cd30e9764
parent75d88b91e6b1320ae0511eaf72e860bea913a3eb
[3.10] bpo-45382: test.pythoninfo logs more Windows versions (GH-30891)

Add the following info to test.pythoninfo:

* windows.ver: output of the shell "ver" command
* windows.version and windows.version_caption: output of the
  "wmic os get Caption,Version /value" command.

(cherry picked from commit b0898f4aa90d9397e23aef98a2d6b82445ee7455)

* bpo-45382: test.pythoninfo: set wmic.exe encoding to OEM (GH-30890)

(cherry picked from commit cef0a5458f254c2f8536b928dee25862ca90ffa6)
Lib/test/pythoninfo.py