code: def testGetImageFromUrlNotWorthRetry(self, mock_io, mock_requests):
      # We should give up quickly for non-timeout errors.
      image_url = "https://some.url.com/image.jpg"
      orig_img = Image.new("RGBA", (200, 200))
      img_bytes = io.BytesIO()
      orig_img.save(img_bytes, format="png")
      mock_response = mock.MagicMock()
      mock_response.raw.read.return_value = "something"
  
      mock_io.BytesIO.return_value = img_bytes
  
      mock_requests.get.side_effect = [
          InvalidURL(),
          ReadTimeout(),
          mock_response,
      ]
  
      with self.assertRaises(InvalidURL):
          atlasmaker_io.get_image(
              image_url,
              request_timeout=30,
              http_max_retries=3,
              http_retry_interval=0,
          )
      self.assertEqual(mock_requests.get.call_count, 1)
  
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 13 for calling the AtlasmakerIOTests obj's underlying member method code with example usage: obj.testGetImageFromUrlNotWorthRetry(mock_io, mock_requests) without return types