mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-14 13:46:57 +03:00
10 lines
221 B
Python
10 lines
221 B
Python
from PIL import Image
|
|
|
|
|
|
def test_getxmp():
|
|
with Image.open("Tests/images/xmp_test.jpg") as im:
|
|
xmp = im.getxmp()
|
|
|
|
assert isinstance(xmp, dict)
|
|
assert xmp["Description"][0]["Version"] == "10.4"
|