@@ -673,12 +673,6 @@ def test_auxiliary_channels_isolated() -> None:
673673 assert_image_equal (test_image .convert (dst_format [2 ]), reference_image )
674674
675675
676- def test_long_modes () -> None :
677- p = ImageCms .getOpenProfile ("Tests/icc/sGrey-v2-nano.icc" )
678- with pytest .warns (DeprecationWarning , match = "ABCDEFGHI" ):
679- ImageCms .buildTransform (p , p , "ABCDEFGHI" , "ABCDEFGHI" )
680-
681-
682676@pytest .mark .parametrize ("mode" , ("RGB" , "RGBA" , "RGBX" ))
683677def test_rgb_lab (mode : str ) -> None :
684678 im = Image .new (mode , (1 , 1 ))
@@ -696,11 +690,3 @@ def test_cmyk_lab() -> None:
696690 im = Image .new ("CMYK" , (1 , 1 ))
697691 converted_im = im .convert ("LAB" )
698692 assert converted_im .getpixel ((0 , 0 )) == (255 , 128 , 128 )
699-
700-
701- def test_deprecation () -> None :
702- profile = ImageCmsProfile (ImageCms .createProfile ("sRGB" ))
703- with pytest .warns (DeprecationWarning , match = "RGBA;16B" ):
704- ImageCms .ImageCmsTransform (profile , profile , "RGBA;16B" , "RGB" )
705- with pytest .warns (DeprecationWarning , match = "RGBA;16B" ):
706- ImageCms .ImageCmsTransform (profile , profile , "RGB" , "RGBA;16B" )
0 commit comments