8000 gh-132356: Find the correct group name in test_group_no_follow_symlin… · miss-islington/cpython@28eddee · GitHub
[go: up one dir, main page]

Skip to content

Commit 28eddee

Browse files
befelememiss-islington
authored andcommitted
pythongh-132356: Find the correct group name in test_group_no_follow_symlinks (pythonGH-132357)
Find the correct group name in test_group_no_follow_symlinks (cherry picked from commit 3e1a47b) Co-authored-by: Karolina Surma <33810531+befeleme@users.noreply.github.com>
1 parent 793293d commit 28eddee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_pathlib/test_pathlib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ def test_group_no_follow_symlinks(self):
781781
os.chown(link, -1, gid_2, follow_symlinks=False)
782782

783783
expected_gid = link.stat(follow_symlinks=False).st_gid
784-
expected_name = self._get_pw_name_or_skip_test(expected_gid)
784+
expected_name = self._get_gr_name_or_skip_test(expected_gid)
785785

786786
self.assertEqual(expected_gid, gid_2)
787787
self.assertEqual(expected_name, link.group(follow_symlinks=False))

0 commit comments

Comments
 (0)
0