mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-10-31 07:57:27 +03:00 
			
		
		
		
	issue #2959: pdfParser selftest
This commit is contained in:
		
							parent
							
								
									65112bad7e
								
							
						
					
					
						commit
						ba211ff549
					
				|  | @ -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() | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user