mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-11 12:17:14 +03:00
8 lines
189 B
Python
8 lines
189 B
Python
from .helper import PillowTestCase, hopper
|
|
|
|
|
|
class TestImageToBytes(PillowTestCase):
|
|
def test_sanity(self):
|
|
data = hopper().tobytes()
|
|
self.assertIsInstance(data, bytes)
|