issue #2959: pdfParser selftest

This commit is contained in:
Dvořák Václav 2018-01-22 21:35:55 +01:00
parent 65112bad7e
commit ba211ff549

View File

@ -1,5 +1,5 @@
from helper import unittest, PillowTestCase, hopper
from PIL import Image
from PIL import Image, pdfParser
import os.path
@ -97,6 +97,9 @@ class TestFilePdf(PillowTestCase):
self.assertTrue(os.path.isfile(outfile))
self.assertGreater(os.path.getsize(outfile), 0)
def test_pdf_parser(self):
pdfParser.selftest()
if __name__ == '__main__':
unittest.main()