code: def test_noninteger_gid(self):
      entries = grp.getgrall()
      if not entries:
          self.skipTest("no groups")
      # Choose an existent gid.
      gid = entries[0][2]
      self.assertRaises(TypeError, grp.getgrgid, float(gid))
      self.assertRaises(TypeError, grp.getgrgid, str(gid))
  
file_path: cpython/Lib/test/test_grp.py
imports: import unittest
  from test.support import import_helper
label_desc: Use image node_id 5 for calling the GroupDatabaseTestCase obj's underlying member method code with example usage: obj.test_noninteger_gid() without return types