Corrected test

This commit is contained in:
Andrew Murray 2024-04-01 19:00:19 +11:00
parent 63cbfcfdea
commit e4a10051b6

View File

@ -526,9 +526,9 @@ def test_profile_typesafety() -> None:
def test_transform_typesafety() -> None:
# core transform should not be directly instantiable
with pytest.raises(TypeError):
ImageCms.core.CmsProfile()
ImageCms.core.CmsTransform()
with pytest.raises(TypeError):
ImageCms.core.CmsProfile(0)
ImageCms.core.CmsTransform(0)
def assert_aux_channel_preserved(