mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-27 10:26:19 +03:00
11 lines
177 B
Python
11 lines
177 B
Python
from tester import *
|
|
|
|
from PIL import Image
|
|
|
|
def test_sanity():
|
|
im1 = lena()
|
|
im2 = Image.frombytes(im1.mode, im1.size, im1.tobytes())
|
|
|
|
assert_image_equal(im1, im2)
|
|
|