gh-114272: Fix or skip tests that fail due to spaces in paths#114451
gh-114272: Fix or skip tests that fail due to spaces in paths#114451zooba merged 4 commits intopython:mainfrom
Conversation
serhiy-storchaka
left a comment
There was a problem hiding this comment.
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 😆 ) |
Uh oh!
There was an error while loading. Please reload this page.