]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-150436: Skip subprocess test on STATUS_DLL_INIT_FAILED (#150704) (#150721)
authorVictor Stinner <vstinner@python.org>
Mon, 1 Jun 2026 15:44:54 +0000 (17:44 +0200)
committerGitHub <noreply@github.com>
Mon, 1 Jun 2026 15:44:54 +0000 (15:44 +0000)
commitff9c8dea8f0f8b7777d5a200a8799230c5a5f470
tree90a359cbd83545b137b2c69c4f625896c1c39855
parent62bd651d16add0bbc272b2fe374164ca8edecf15
[3.13] gh-150436: Skip subprocess test on STATUS_DLL_INIT_FAILED (#150704) (#150721)

gh-150436: Skip subprocess test on STATUS_DLL_INIT_FAILED (#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)
Lib/test/support/__init__.py
Lib/test/test_msvcrt.py
Lib/test/test_subprocess.py