mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-28 18:24:57 +03:00
7a866e7431
This reverts commit 0c47ce00b1
.
14 lines
251 B
Python
14 lines
251 B
Python
from helper import unittest, lena
|
|
|
|
|
|
class TestImageToBytes(unittest.TestCase):
|
|
|
|
def test_sanity(self):
|
|
data = lena().tobytes()
|
|
self.assertTrue(isinstance(data, bytes))
|
|
|
|
if __name__ == '__main__':
|
|
unittest.main()
|
|
|
|
# End of file
|