Pillow/Tests/test_file_container.py
2017-03-03 19:45:55 +11:00

22 lines
420 B
Python

from helper import unittest, PillowTestCase, hopper
from PIL import Image
from PIL import ContainerIO
class TestFileContainer(PillowTestCase):
def test_sanity(self):
dir(Image)
dir(ContainerIO)
def test_isatty(self):
im = hopper()
container = ContainerIO.ContainerIO(im, 0, 0)
self.assertEqual(container.isatty(), 0)
if __name__ == '__main__':
unittest.main()