def test_loadImageFromPathAllRequestErrors(self):
        """Do we catch other download errors?
        The errors tested inherit from requests.exceptions.RequestException
        """
        good_url = TestImageUrls.HIPPO_REALISTIC.value
        clip_utils.load_image_from_path(good_url, {})
        for err in [pycurl.error]:
            with mock.patch('pycurl.Curl') as MockCurl:
                mock_curl = MockCurl.return_value
                mock_curl.perform.side_effect = err
                with self.assertRaises(PIL.UnidentifiedImageError):
                    clip_utils.load_image_from_path(good_url, {})
Do we catch other download errors?
        The errors tested inherit from requests.exceptions.RequestException
        
tests/integ_tests/s2_inference/test_clip_utils.py