diff options
author | Karolina Surma <33810531+befeleme@users.noreply.github.com> | 2025-04-11 16:58:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-11 15:58:39 +0100 |
commit | 3e1a47bdb468d02665c137d84dd44500a557b58b (patch) | |
tree | f1a1791c811aa928a753eb506f29529d4aee7dc6 /Lib/test/test_pathlib/test_pathlib.py | |
parent | f23052591a60f588c432795f1ac687e709d97386 (diff) | |
download | cpython-3e1a47bdb468d02665c137d84dd44500a557b58b.tar.gz cpython-3e1a47bdb468d02665c137d84dd44500a557b58b.zip |
gh-132356: Find the correct group name in test_group_no_follow_symlinks (#132357)
Find the correct group name in test_group_no_follow_symlinks
Diffstat (limited to 'Lib/test/test_pathlib/test_pathlib.py')
-rw-r--r-- | Lib/test/test_pathlib/test_pathlib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_pathlib/test_pathlib.py b/Lib/test/test_pathlib/test_pathlib.py index 00ec17e21e2..21bc2f9e68b 100644 --- a/Lib/test/test_pathlib/test_pathlib.py +++ b/Lib/test/test_pathlib/test_pathlib.py @@ -2065,7 +2065,7 @@ class PathTest(PurePathTest): os.chown(link, -1, gid_2, follow_symlinks=False) expected_gid = link.stat(follow_symlinks=False).st_gid - expected_name = self._get_pw_name_or_skip_test(expected_gid) + expected_name = self._get_gr_name_or_skip_test(expected_gid) self.assertEqual(expected_gid, gid_2) self.assertEqual(expected_name, link.group(follow_symlinks=False)) |