Merge pull request #7930 from radarhere/imagecms

This commit is contained in:
Hugo van Kemenade 2024-04-01 17:40:07 +03:00 committed by GitHub
commit 6b676f2962
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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(