]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-75729: Fix os.spawn tests not handling spaces on Windows (GH-99150)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 8 Apr 2023 08:03:58 +0000 (01:03 -0700)
committerGitHub <noreply@github.com>
Sat, 8 Apr 2023 08:03:58 +0000 (01:03 -0700)
commitb4f331820772c95c2d5eae9e5f416effb70a8db2
tree1db9db0a462264515b732bc0c4faa82e08e4aa33
parent29a1e89c9fbfaf409cee3d6fada9473a324ac1c8
gh-75729: Fix os.spawn tests not handling spaces on Windows (GH-99150)

* Quote paths in os.spawn tests on Windows so they work with spaces

* Add NEWS entry for os spawn test fix

* Fix code style to avoid double negative in os.spawn tests

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
---------

(cherry picked from commit a34c79623877a7ed0c86a6d48ddccffa0de76836)

Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Lib/test/test_os.py
Misc/NEWS.d/next/Tests/2022-11-06-18-42-38.gh-issue-75729.uGYJrv.rst [new file with mode: 0644]