Pillow/Tests/test_image_tobytes.py

8 lines
133 B
Python

from tester import *
from PIL import Image
def test_sanity():
data = lena().tobytes()
assert_true(isinstance(data, bytes))