mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-27 10:26:19 +03:00
22 lines
420 B
Python
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()
|