code: def testCompare(self):
      results = (MPI.IDENT, MPI.SIMILAR, MPI.UNEQUAL)
      group = MPI.COMM_WORLD.Get_group()
      gcmp = MPI.Group.Compare(self.GROUP, group)
      group.Free()
      self.assertIn(gcmp, results)
      gcmp = MPI.Group.Compare(self.GROUP, self.GROUP)
      self.assertEqual(gcmp, MPI.IDENT)
      gcmp = self.GROUP.Compare(self.GROUP)
      self.assertEqual(gcmp, MPI.IDENT)
  
imports: from mpi4py import MPI
  import mpiunittest
label_desc: Use image node_id 2 for calling the BaseTestGroup obj's underlying member method code with example usage: obj.testCompare() without return types