code: def test_create_joint_groups(self):
      joint_groups = create_joint_groups(
          [(self.entities, self.base_groups)]
      )[0]
      self.assertEqual(joint_groups, self.joint_base_groups)
  
imports: import unittest
  from copy import deepcopy
  from finetune.util.group_metrics import get_count_fn, calc_group_assignment, create_joint_groups, get_metrics, group_metrics, joint_metrics
label_desc: Use image node_id 5 for calling the TestGroupMetrics obj's underlying member method code with example usage: obj.test_create_joint_groups() without return types