Skip to content

gh-150244: Fix test_create_subprocess_env_shell to handle cpython path containing spaces. #150281

Open
edvilme wants to merge 1 commit into
python:mainfrom
edvilme:asyncio-test-spaces-fix
Open

gh-150244: Fix test_create_subprocess_env_shell to handle cpython path containing spaces. #150281
edvilme wants to merge 1 commit into
python:mainfrom
edvilme:asyncio-test-spaces-fix

Conversation

@edvilme
Copy link
Copy Markdown
Contributor

@edvilme edvilme commented May 23, 2026

Fix test_create_subprocess_env_shell to properly quote the executable path on both Win32 and UNIX-like systems to properly handle spaces in the path.

…thon path

containing spaces

On non-win32 systems, the path to the executable was not quoted,
causing issues when building the command if it contains spaces, causing
the test to fail.
@edvilme edvilme force-pushed the asyncio-test-spaces-fix branch from 3b455ad to 8affd1e Compare May 23, 2026 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant