mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-09-21 03:18:57 +03:00
16 lines
334 B
Python
16 lines
334 B
Python
|
from helper import unittest, PillowTestCase
|
||
|
|
||
|
from PIL import FitsStubImagePlugin
|
||
|
|
||
|
|
||
|
class TestFileFitsStub(PillowTestCase):
|
||
|
|
||
|
def test_invalid_file(self):
|
||
|
self.assertRaises(SyntaxError, lambda: FitsStubImagePlugin.FITSStubImageFile("Tests/images/flower.jpg"))
|
||
|
|
||
|
|
||
|
if __name__ == '__main__':
|
||
|
unittest.main()
|
||
|
|
||
|
# End of file
|