code: def test_voc_mask_file(samples_source):
      mask_filepath = (
          samples_source / "voc/SegmentationObject/2007_000063.png"
      )
      mask = VocMaskFile(mask_filepath)
  
      mask_arr = mask.to_mask(0, 0)
      assert mask_arr.data.shape == (2, 375, 500)
  
      erles = mask.to_erles(h=375, w=500)
      assert len(erles) == 2
  
file_path: icevision/tests/core/test_mask.py
imports: import pytest
  from icevision.all import *
label_desc: Use image node_id 8 for calling a global function with example usage: test_voc_mask_file(samples_source) without return types