Pillow/Tests/test_image_tobytes.py
2014-06-10 12:10:47 +03:00

14 lines
251 B
Python

from helper import unittest, lena
class TestImageToBytes(unittest.TestCase):
def test_sanity(self):
data = lena().tobytes()
self.assertTrue(isinstance(data, bytes))
if __name__ == '__main__':
unittest.main()
# End of file