mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Fix copy & paste error in comment.
This commit is contained in:
parent
43bc1f18db
commit
64976e74af
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ class GroupDatabaseTestCase(unittest.TestCase):
|
||||||
# The following won't work, because of duplicate entries
|
# The following won't work, because of duplicate entries
|
||||||
# for one gid
|
# for one gid
|
||||||
# self.assertEqual(grp.getgrgid(e.gr_gid), e)
|
# self.assertEqual(grp.getgrgid(e.gr_gid), e)
|
||||||
# instead of this collect all entries for one uid
|
# instead of this collect all entries for one gid
|
||||||
# and check afterwards
|
# and check afterwards
|
||||||
entriesbygid.setdefault(e.gr_gid, []).append(e)
|
entriesbygid.setdefault(e.gr_gid, []).append(e)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue