mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 01:16:16 +03:00
Update comment
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
parent
607f508080
commit
1229110fb2
|
@ -189,8 +189,8 @@ def test_exceptions():
|
|||
ImageCms.getProfileName(None)
|
||||
skip_missing()
|
||||
|
||||
# Windows, Python <= 3.9: "an integer is required (got type NoneType)"
|
||||
# Others: "'NoneType' object cannot be interpreted as an integer"
|
||||
# Python <= 3.9: "an integer is required (got type NoneType)"
|
||||
# Python > 3.9: "'NoneType' object cannot be interpreted as an integer"
|
||||
with pytest.raises(ImageCms.PyCMSError, match="integer"):
|
||||
ImageCms.isIntentSupported(SRGB, None, None)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user