mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
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
This commit is contained in:
parent
f23052591a
commit
3e1a47bdb4
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue