Skip to content

Commit

Permalink
Patch test_grp
Browse files Browse the repository at this point in the history
Summary: comment out snippet that has always been failing on devservers (same as D51567324 for 3.12)

Reviewed By: DinoV

Differential Revision: D58622161

fbshipit-source-id: b5e39228586c75268bcf3130c8c659c9918aa2fd
  • Loading branch information
itamaro authored and facebook-github-bot committed Jun 18, 2024
1 parent bf4ea6d commit f2068d7
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions Lib/test/test_grp.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,14 @@ def test_errors(self):

self.assertRaises(KeyError, grp.getgrnam, fakename)

# Choose a non-existent gid.
fakegid = 4127
while fakegid in bygids:
fakegid = (fakegid * 3) % 0x10000

self.assertRaises(KeyError, grp.getgrgid, fakegid)
# START META PATCH: comment out part of test that fails on devserver
# # Choose a non-existent gid.
# fakegid = 4127
# while fakegid in bygids:
# fakegid = (fakegid * 3) % 0x10000

# self.assertRaises(KeyError, grp.getgrgid, fakegid)
# END META PATCH

def test_noninteger_gid(self):
entries = grp.getgrall()
Expand Down

0 comments on commit f2068d7

Please sign in to comment.