MCPcopy Create free account
hub / github.com/Belval/pdf2image / test_missingfonterror_throws

Method test_missingfonterror_throws

tests.py:908–916  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

906
907 @unittest.skipIf(not POPPLER_INSTALLED, "Poppler is not installed!")
908 def test_missingfonterror_throws(self):
909 start_time = time.time()
910 try:
911 images_from_path = convert_from_path("./tests/test_strict.pdf", strict=True)
912 raise Exception("This should not happen")
913 except PDFSyntaxError as ex:
914 pass
915
916 print("test_syntaxerror_throws: {} sec".format(time.time() - start_time))
917
918 # Test transparent
919

Callers

nothing calls this directly

Calls 1

convert_from_pathFunction · 0.90

Tested by

no test coverage detected