code: def test_coco_reader_alias():
      def check_coco_reader_alias(polygon_masks, pixelwise_masks):
          new_pipe = coco_pipe(
              fn.readers.coco,
              file_root,
              train_annotations,
              polygon_masks,
              pixelwise_masks,
          )
          legacy_pipe = coco_pipe(
              fn.coco_reader,
              file_root,
              train_annotations,
              polygon_masks,
              pixelwise_masks,
          )
          compare_pipelines(
              new_pipe, legacy_pipe, batch_size_alias_test, 5
          )
  
      file_root = os.path.join(
          test_data_root, "db", "coco_pixelwise", "images"
      )
      train_annotations = os.path.join(
          test_data_root, "db", "coco_pixelwise", "instances.json"
      )
  
      for polygon_masks, pixelwise_masks in [
          (None, None),
          (True, None),
          (None, True),
      ]:
          yield check_coco_reader_alias, polygon_masks, pixelwise_masks
  
imports: import numpy
  import nvidia.dali.fn
  import os
  import tempfile
  import json
  from nvidia.dali import Pipeline, pipeline_def
  from nose_utils import raises
  from nose2.tools import params
  from test_utils import compare_pipelines, get_dali_extra_path
label_desc: Use image node_id 7 for calling a global function with example usage: test_coco_reader_alias() without return types