commit | 2c634425863d034965857cb0092fa98c4b3832e6 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Jan 23 01:20:26 2008 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed Jan 23 01:20:26 2008 +0000 |
tree | c12f5dc394af066420bbab41922a210ab02fdb88 | |
parent | 7bf216b03473873f51551c7903bb3bb2ed14a2dd [diff] [blame] |
Backport r60208, skip some tests for huge passwd/group files.
diff --git a/Lib/test/test_grp.py b/Lib/test/test_grp.py index 08958ba..a8dcb63 100755 --- a/Lib/test/test_grp.py +++ b/Lib/test/test_grp.py
@@ -25,6 +25,9 @@ for e in entries: self.check_value(e) + if len(entries) > 1000: # Huge group file (NIS?) -- skip the rest + return + for e in entries: e2 = grp.getgrgid(e.gr_gid) self.check_value(e2)