From 64b657035ad14bc8d40a0c9bfb6097a8b7ff6e03 Mon Sep 17 00:00:00 2001 From: Massimiliano Pippi Date: Sun, 10 Nov 2024 18:26:50 +0100 Subject: [PATCH] remove useless test --- tests/test_image.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/tests/test_image.py b/tests/test_image.py index bbb0917..010c422 100644 --- a/tests/test_image.py +++ b/tests/test_image.py @@ -74,18 +74,3 @@ def test_image_content_block_structure(): assert content_block["type"] == "image_url" assert isinstance(content_block["image_url"], dict) assert "url" in content_block["image_url"] - - -@pytest.mark.parametrize( - "invalid_input", - [ - "", # empty string - None, # None value - 123, # non-string number - True, # boolean - ], -) -def test_image_with_invalid_input(invalid_input): - """Test image filter with various invalid inputs""" - with pytest.raises((IsADirectoryError, ValueError, AttributeError, TypeError)): - image(invalid_input)