mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
11 lines
205 B
Python
11 lines
205 B
Python
from PIL import Image
|
|
|
|
from .helper import assert_image_equal, hopper
|
|
|
|
|
|
def test_sanity():
|
|
im1 = hopper()
|
|
im2 = Image.frombytes(im1.mode, im1.size, im1.tobytes())
|
|
|
|
assert_image_equal(im1, im2)
|