mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 10:46:16 +03:00
ad784eb808
This is Christoph Gohlke's test suite from his personal PIL package found at http://www.lfd.uci.edu/~gohlke/pythonlibs/. This is just to bring it in as a separate commit. Future commits will align it with Pillow.
12 lines
178 B
Python
12 lines
178 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)
|
|
|