diff --git a/tests/test_processing_common.py b/tests/test_processing_common.py index 041b622333b2..eef97c5b06c7 100644 --- a/tests/test_processing_common.py +++ b/tests/test_processing_common.py @@ -332,7 +332,9 @@ def test_processor_text_has_no_visual(self): {"type": "text", "text": "What is the capital of France?"}, { "type": "image", - "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/coco_sample.png", + "url": url_to_local_path( + "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/coco_sample.png" + ), }, ], },