mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-12 12:46:47 +03:00
14 lines
264 B
Python
14 lines
264 B
Python
from helper import unittest, PillowTestCase, lena
|
|
|
|
|
|
class TestImageToBytes(PillowTestCase):
|
|
|
|
def test_sanity(self):
|
|
data = lena().tobytes()
|
|
self.assertTrue(isinstance(data, bytes))
|
|
|
|
if __name__ == '__main__':
|
|
unittest.main()
|
|
|
|
# End of file
|