Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3e1a47b

Browse filesBrowse files
authored
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
1 parent f230525 commit 3e1a47b
Copy full SHA for 3e1a47b

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎Lib/test/test_pathlib/test_pathlib.py

Copy file name to clipboardExpand all lines: Lib/test/test_pathlib/test_pathlib.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2065,7 +2065,7 @@ def test_group_no_follow_symlinks(self):
20652065
os.chown(link, -1, gid_2, follow_symlinks=False)
20662066

20672067
expected_gid = link.stat(follow_symlinks=False).st_gid
2068-
expected_name = self._get_pw_name_or_skip_test(expected_gid)
2068+
expected_name = self._get_gr_name_or_skip_test(expected_gid)
20692069

20702070
self.assertEqual(expected_gid, gid_2)
20712071
self.assertEqual(expected_name, link.group(follow_symlinks=False))

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.