Skip to content

Commit e4a1005

Browse files
committed
Corrected test
1 parent 63cbfcf commit e4a1005

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Tests/test_imagecms.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -526,9 +526,9 @@ def test_profile_typesafety() -> None:
526526
def test_transform_typesafety() -> None:
527527
# core transform should not be directly instantiable
528528
with pytest.raises(TypeError):
529-
ImageCms.core.CmsProfile()
529+
ImageCms.core.CmsTransform()
530530
with pytest.raises(TypeError):
531-
ImageCms.core.CmsProfile(0)
531+
ImageCms.core.CmsTransform(0)
532532

533533

534534
def assert_aux_channel_preserved(

0 commit comments

Comments
 (0)