]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-121200: Fix test_expanduser_pwd2() of test_posixpath (#121228)
authorVictor Stinner <vstinner@python.org>
Mon, 1 Jul 2024 15:49:03 +0000 (17:49 +0200)
committerGitHub <noreply@github.com>
Mon, 1 Jul 2024 15:49:03 +0000 (17:49 +0200)
commit02cb5fdee391670d63b2fc0a92ca9b36a32ac95a
tree8c7e7ddce302dbf424843461dcba0ced431123b8
parent8a5176772c932d764daa83c50b99fe0805260b2c
gh-121200: Fix test_expanduser_pwd2() of test_posixpath (#121228)

Call getpwnam() to get pw_dir, since it can be different than
getpwall() pw_dir.
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]