code: def testSaveImageJpegDontDelete(self):
      # Verify we can output to jpeg despite using RGBA.
      output_file = os.path.join(self.testdata_dir, "testfile.jpg")
      img = Image.new("RGBA", (50, 50))
  
      try:
          atlasmaker_io.save_image(img=img, outpath=output_file)
          output_img = Image.open(output_file)
          self.assertEqual(output_img.size, (50, 50))
      except:
          raise
      finally:
          # Cleanup.
          if os.path.isfile(output_file):
              os.remove(output_file)
  
imports: import io
  import os
  import shutil
  import mock
  from absl.testing import absltest
  from PIL import Image
  from requests.exceptions import ConnectTimeout, ReadTimeout, InvalidURL
  import atlasmaker_io
label_desc: Use image node_id 14 for calling the AtlasmakerIOTests obj's underlying member method code with example usage: obj.testSaveImageJpegDontDelete() without return types