Skip to content

Commit

Permalink
Corrected test
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Apr 1, 2024
1 parent 63cbfcf commit e4a1005
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/test_imagecms.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit e4a1005

Please sign in to comment.