Update Tests/test_imagecms.py

Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
Ondrej Baranovič 2024-01-11 02:08:46 +01:00 committed by GitHub
parent 71ba20bb19
commit 5347b471c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -639,7 +639,7 @@ def test_rgb_lab(mode):
assert converted_im.getpixel((0, 0))[:3] == (0, 255, 255) assert converted_im.getpixel((0, 0))[:3] == (0, 255, 255)
def test_deprecation(): def test_deprecation() -> None:
with pytest.warns(DeprecationWarning): with pytest.warns(DeprecationWarning):
assert ImageCms.DESCRIPTION.strip().startswith("pyCMS") assert ImageCms.DESCRIPTION.strip().startswith("pyCMS")
with pytest.warns(DeprecationWarning): with pytest.warns(DeprecationWarning):