Pillow/Tests/test_image_tobytes.py
2019-06-13 18:54:24 +03:00

8 lines
189 B
Python

from .helper import PillowTestCase, hopper
class TestImageToBytes(PillowTestCase):
def test_sanity(self):
data = hopper().tobytes()
self.assertIsInstance(data, bytes)