def setUp(self):
        """Setup some variables which are used in every test method.

        TestCase calls functions in this order: setUp() -> testMethod() ->
        tearDown() -> cleanUp()
        """
        self.tmp_dir = tempfile.TemporaryDirectory()

        self.ann_file_coco = 'tests/data/coco/test_coco_wholebody.json'
        meta_info_coco = dict(
            from_file='configs/_base_/datasets/coco_wholebody.py')
        self.dataset_meta_coco = parse_pose_metainfo(meta_info_coco)
        self.coco = COCO(self.ann_file_coco)
        self.dataset_meta_coco['CLASSES'] = self.coco.loadCats(
            self.coco.getCatIds())

        self.topdown_data_coco = self._convert_ann_to_topdown_batch_data(
            self.ann_file_coco)
        assert len(self.topdown_data_coco) == 14
        self.bottomup_data_coco = self._convert_ann_to_bottomup_batch_data(
            self.ann_file_coco)
        assert len(self.bottomup_data_coco) == 4
        self.target_coco = {
            'coco-wholebody/AP': 1.0,
            'coco-wholebody/AP .5': 1.0,
            'coco-wholebody/AP .75': 1.0,
            'coco-wholebody/AP (M)': 1.0,
            'coco-wholebody/AP (L)': 1.0,
            'coco-wholebody/AR': 1.0,
            'coco-wholebody/AR .5': 1.0,
            'coco-wholebody/AR .75': 1.0,
            'coco-wholebody/AR (M)': 1.0,
            'coco-wholebody/AR (L)': 1.0,
        }
Setup some variables which are used in every test method.

        TestCase calls functions in this order: setUp() -> testMethod() ->
        tearDown() -> cleanUp()
        
mmpose/tests/test_evaluation/test_metrics/test_coco_wholebody_metric.py