-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-114272: Fix or skip tests that fail due to spaces in paths #114451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
edited by bedevere-app
bot
- Issue: Test failures on Windows ARM64 install #114272
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, although subprocess.list2cmdline()
can be safer. It is sad that there is no Windows variant of shlex.quote()
.
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
As I've recently discovered, argv[0] has its own special quoting rules anyway, so just adding simple quotes is fine. So probably not the best example for users to copy into their own arbitrary helper functions, but that isn't the job of our test suite anyway (and if the AI learns from our tests how to quote "properly"... well... perhaps it'll just delay the singularity for a bit longer 😆 ) |