]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-121200: Fix test_expanduser_pwd2() of test_posixpath (GH-121228) (#121232)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 1 Jul 2024 16:13:41 +0000 (18:13 +0200)
committerGitHub <noreply@github.com>
Mon, 1 Jul 2024 16:13:41 +0000 (16:13 +0000)
commit010bf92779d2938c21c33ec9d4d0cdb87dc80760
tree1586e3e76ab437d996a88e72652fb3f70387bc86
parent7bd67d56c4fea7a9cbbd1282704f083e5ecf418b
[3.13] gh-121200: Fix test_expanduser_pwd2() of test_posixpath (GH-121228) (#121232)

gh-121200: Fix test_expanduser_pwd2() of test_posixpath (GH-121228)

Call getpwnam() to get pw_dir, since it can be different than
getpwall() pw_dir.
(cherry picked from commit 02cb5fdee391670d63b2fc0a92ca9b36a32ac95a)

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/test_posixpath.py
Misc/NEWS.d/next/Tests/2024-07-01-16-15-06.gh-issue-121200.4Pc-gc.rst [new file with mode: 0644]