Pillow/Tests/test_image_tobytes.py

13 lines
249 B
Python
Raw Normal View History

from .helper import unittest, PillowTestCase, hopper
class TestImageToBytes(PillowTestCase):
2014-06-10 13:10:47 +04:00
def test_sanity(self):
data = hopper().tobytes()
self.assertIsInstance(data, bytes)
2014-06-10 13:10:47 +04:00
2018-03-03 12:54:00 +03:00
2014-06-10 13:10:47 +04:00
if __name__ == '__main__':
unittest.main()