mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
16 lines
314 B
Python
16 lines
314 B
Python
from helper import unittest, PillowTestCase
|
|
|
|
from PIL import MicImagePlugin
|
|
|
|
|
|
class TestFileMic(PillowTestCase):
|
|
|
|
def test_invalid_file(self):
|
|
self.assertRaises(SyntaxError, lambda: MicImagePlugin.MicImageFile("Tests/images/flower.jpg"))
|
|
|
|
|
|
if __name__ == '__main__':
|
|
unittest.main()
|
|
|
|
# End of file
|