code: def testParallelizeConvertImagesFromLocalfile(self):
      # Test parallelization with multiple reads of the same image file produces
      # expected output images with correct sizes.
      testfile_path = os.path.join(
          self.testdata_dir, "Googleplex-Patio-Aug-2014.JPG"
      )
      testfile_locations = [testfile_path] * 3
      expected_output_image_sizes = [(100, 100)] * 3
      image_convert_settings = convert.ImageConvertSettings(
          img_format="png", width=100, height=100
      )
  
      output_imgs_with_status = (
          parallelize.get_and_convert_images_parallel(
              testfile_locations, image_convert_settings, verbose=1
          )
      )
  
      resulting_image_sizes = []
      for image, status in output_imgs_with_status:
          del status  # linter
          resulting_image_sizes.append(image.size)
  
      self.assertSameElements(
          resulting_image_sizes, expected_output_image_sizes
      )
  
imports: import os
  from absl import logging
  from absl.testing import absltest
  from PIL import Image
  from PIL import ImageFile
  import parallelize
  import convert
label_desc: Use image node_id 8 for calling the ParallelizeTests obj's underlying member method code with example usage: obj.testParallelizeConvertImagesFromLocalfile() without return types