File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -75,10 +75,6 @@ def test_load_image_invalid(
7575 img_str = base64 .b64encode (img_bytes ).decode ()
7676 load_image (img_str )
7777
78- def test_load_image_unsupported_type (self ) -> None :
79- with pytest .raises (AttributeError ):
80- load_image (123 ) # type: ignore
81-
8278 def test_load_image_nonexistent_file (self ) -> None :
8379 with pytest .raises (ValueError , match = "Could not open image from file path" ):
8480 load_image ("nonexistent_file.png" )
@@ -238,10 +234,6 @@ def test_image_to_base64_format(
238234 # Verify the images are different (JPEG is lossy)
239235 assert png_base64 != jpeg_base64
240236
241- def test_image_to_base64_unsupported_type (self ) -> None :
242- with pytest .raises (AttributeError ):
243- image_to_base64 (123 ) # type: ignore
244-
245237
246238class TestImageScaling :
247239 def test_scale_image_with_padding (
You can’t perform that action at this time.
0 commit comments