]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.10] bpo-45382: test.pythoninfo logs more Windows versions (GH-30891) (GH-30894)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 16 Mar 2022 10:13:55 +0000 (03:13 -0700)
committerGitHub <noreply@github.com>
Wed, 16 Mar 2022 10:13:55 +0000 (11:13 +0100)
commit0b0609d0d1a2f231c94bab2177095dd9a46fc137
treed154470d1a0ced7625421cb333474cf62c87e022
parentad6ddd89006b9fa4836a944c99f8076f26faf299
[3.10] bpo-45382: test.pythoninfo logs more Windows versions (GH-30891) (GH-30894)

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)
(cherry picked from commit 4a57fa296b92125e41220ecd201eb2e432b79fb0)

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