mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-14 21:56:56 +03:00
10 lines
233 B
Python
10 lines
233 B
Python
from PIL import Image
|
|
|
|
|
|
def test_getxmp():
|
|
im = Image.open("Tests/images/xmp_test.jpg")
|
|
type_repr = repr(type(im.getxmp()))
|
|
|
|
assert "dict" in type_repr
|
|
assert isinstance(im.getxmp()['Description'][0]['Version'], int)
|