mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-02 20:54:39 +03:00
Corrected test
This commit is contained in:
parent
63cbfcfdea
commit
e4a10051b6
|
@ -526,9 +526,9 @@ def test_profile_typesafety() -> None:
|
||||||
def test_transform_typesafety() -> None:
|
def test_transform_typesafety() -> None:
|
||||||
# core transform should not be directly instantiable
|
# core transform should not be directly instantiable
|
||||||
with pytest.raises(TypeError):
|
with pytest.raises(TypeError):
|
||||||
ImageCms.core.CmsProfile()
|
ImageCms.core.CmsTransform()
|
||||||
with pytest.raises(TypeError):
|
with pytest.raises(TypeError):
|
||||||
ImageCms.core.CmsProfile(0)
|
ImageCms.core.CmsTransform(0)
|
||||||
|
|
||||||
|
|
||||||
def assert_aux_channel_preserved(
|
def assert_aux_channel_preserved(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user