code: def test_keypoints_parser(coco_dir, coco_keypoints_parser):
      records = coco_keypoints_parser.parse(
          data_splitter=SingleSplitSplitter()
      )[0]
      assert len(records) == 2
      record = records[1]
      assert record.filepath == coco_dir / "images/000000404249.jpg"
      assert len(record.detection.keypoints) == 1
      assert record.detection.keypoints[0].n_visible_keypoints == 16
      assert record.detection.keypoints[0].y.max() == 485
  
      assert len(records[0].detection.keypoints) == 3
  
file_path: icevision/tests/parsers/test_coco_parser.py
imports: import pytest
  from icevision.all import *
label_desc: Use image node_id 3 for calling a global function with example usage: test_keypoints_parser(coco_dir, coco_keypoints_parser) without return types