mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-12 01:02:39 +03:00
Check that ImageCmsProfile.__getattr__ raises AttributeError
This commit is contained in:
parent
f66be01bf6
commit
54421b5f56
|
@ -723,3 +723,5 @@ def test_deprecation() -> None:
|
|||
profile.product_info
|
||||
with pytest.warns(DeprecationWarning):
|
||||
profile._set(p)
|
||||
with pytest.raises(AttributeError):
|
||||
profile.this_attribute_does_not_exist
|
||||
|
|
Loading…
Reference in New Issue
Block a user