]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-150436: Skip subprocess test on STATUS_DLL_INIT_FAILED (#150704)
authorVictor Stinner <vstinner@python.org>
Mon, 1 Jun 2026 14:50:15 +0000 (16:50 +0200)
committerGitHub <noreply@github.com>
Mon, 1 Jun 2026 14:50:15 +0000 (14:50 +0000)
commite8034dd841808416e243a4b2f8e08f0edf9caff3
treeb304bf4c372e34f468f7479fec77453e4db16807
parentc5516e7e371f7b273eb37c7b65f14ef14ee81f11
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.
Lib/test/support/__init__.py
Lib/test/test_cmd_line.py
Lib/test/test_msvcrt.py
Lib/test/test_subprocess.py