code: def test_coco_base_parser_init_from_dict(coco_dir):
      annotations_dict = json.load(open(coco_dir / "annotations.json"))
      parser_init_by_dict = parsers.COCOBBoxParser(
          annotations_dict, coco_dir / "images"
      )
      assert parser_init_by_dict.annotations_dict == annotations_dict
  
file_path: icevision/tests/parsers/test_coco_parser.py
imports: import pytest
  from icevision.all import *
label_desc: Use image node_id 6 for calling a global function with example usage: test_coco_base_parser_init_from_dict(coco_dir) without return types