mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 18:06:18 +03:00
Add test for PSD mimetype
This commit is contained in:
parent
e30836be5c
commit
74e02e6c4e
|
@ -12,6 +12,7 @@ def test_sanity():
|
||||||
assert im.mode == "RGB"
|
assert im.mode == "RGB"
|
||||||
assert im.size == (128, 128)
|
assert im.size == (128, 128)
|
||||||
assert im.format == "PSD"
|
assert im.format == "PSD"
|
||||||
|
assert im.get_format_mimetype() == "image/vnd.adobe.photoshop"
|
||||||
|
|
||||||
im2 = hopper()
|
im2 = hopper()
|
||||||
assert_image_similar(im, im2, 4.8)
|
assert_image_similar(im, im2, 4.8)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user