diff options
Diffstat (limited to 'Lib/test/test_grp.py')
-rw-r--r-- | Lib/test/test_grp.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_grp.py b/Lib/test/test_grp.py index 04a8af6..749041c 100644 --- a/Lib/test/test_grp.py +++ b/Lib/test/test_grp.py @@ -26,8 +26,10 @@ class GroupDatabaseTestCase(unittest.TestCase): for e in entries: self.check_value(e) + def test_values_extended(self): + entries = grp.getgrall() if len(entries) > 1000: # Huge group file (NIS?) -- skip the rest - return + self.skipTest('huge group file, extended test skipped') for e in entries: e2 = grp.getgrgid(e.gr_gid) |