]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-150436: Skip subprocess test on STATUS_DLL_INIT_FAILED (GH-150704) (#150713)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 4 Jun 2026 08:46:08 +0000 (10:46 +0200)
committerGitHub <noreply@github.com>
Thu, 4 Jun 2026 08:46:08 +0000 (08:46 +0000)
commit6b46aac7d629e83e34fd2539ba71c015234a4f37
tree036a1fe977dd83ffc4b3ef0f098b0f4984e2673d
parent624384d97405f071da94321505ef160c987cac50
[3.15] gh-150436: Skip subprocess test on STATUS_DLL_INIT_FAILED (GH-150704) (#150713)

gh-150436: Skip subprocess test on STATUS_DLL_INIT_FAILED (GH-150704)

If a subprocess spawned with CREATE_NEW_CONSOLE creation flag fails
with STATUS_DLL_INIT_FAILED return code, skip the test. It's likely a
memory allocation failure in the desktop heap memory which caused the
DLL init failure.
(cherry picked from commit e8034dd841808416e243a4b2f8e08f0edf9caff3)

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/support/__init__.py
Lib/test/test_cmd_line.py
Lib/test/test_msvcrt.py
Lib/test/test_subprocess.py