Pillow/Tests/test_image_tobytes.py
2018-03-04 21:36:33 +11:00

13 lines
248 B
Python

from helper import unittest, PillowTestCase, hopper
class TestImageToBytes(PillowTestCase):
def test_sanity(self):
data = hopper().tobytes()
self.assertIsInstance(data, bytes)
if __name__ == '__main__':
unittest.main()