code: def check_value(self, value):
      # check that a grp tuple has the entries and
      # attributes promised by the docs
      self.assertEqual(len(value), 4)
      self.assertEqual(value[0], value.gr_name)
      self.assertIsInstance(value.gr_name, str)
      self.assertEqual(value[1], value.gr_passwd)
      self.assertIsInstance(value.gr_passwd, str)
      self.assertEqual(value[2], value.gr_gid)
      self.assertIsInstance(value.gr_gid, int)
      self.assertEqual(value[3], value.gr_mem)
      self.assertIsInstance(value.gr_mem, list)
  
file_path: cpython/Lib/test/test_grp.py
imports: import unittest
  from test.support import import_helper
label_desc: Use image node_id 1 for calling the GroupDatabaseTestCase obj's underlying member method code with example usage: obj.check_value(value) without return types