]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-104522: Fix test_subprocess failure when build Python in the root home...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 18 Jan 2024 12:18:15 +0000 (13:18 +0100)
committerGitHub <noreply@github.com>
Thu, 18 Jan 2024 12:18:15 +0000 (13:18 +0100)
commiteb582df61fcdbdd5b510da5d3744e5f60bf8b81d
treec38ad589531fdd0a0dcd3129e790c42c28341c1b
parent55b73a5c78209cda7bafd0aa472b2ab89068b7ef
[3.12] gh-104522: Fix test_subprocess failure when build Python in the root home directory (GH-114236) (GH-114239)

EPERM is raised when setreuid() fails.
EACCES is set in execve() when the test user has not access to sys.executable.
(cherry picked from commit 311d1e2701037952eaf75f993be76f3092c1f01c)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/test_subprocess.py