Lines Matching refs:grp
6 grp = support.import_module('grp') variable
24 entries = grp.getgrall()
30 entries = grp.getgrall()
35 e2 = grp.getgrgid(e.gr_gid)
42 e2 = grp.getgrnam(name)
50 self.assertRaises(TypeError, grp.getgrgid)
51 self.assertRaises(TypeError, grp.getgrnam)
52 self.assertRaises(TypeError, grp.getgrall, 42)
54 self.assertRaises(ValueError, grp.getgrnam, 'a\x00b')
59 for (n, p, g, mem) in grp.getgrall():
88 self.assertRaises(KeyError, grp.getgrnam, fakename)
95 self.assertRaises(KeyError, grp.getgrgid, fakegid)
98 entries = grp.getgrall()
103 self.assertWarns(DeprecationWarning, grp.getgrgid, float(gid))
104 self.assertWarns(DeprecationWarning, grp.getgrgid, str(gid))