(self)
| 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 |
nothing calls this directly
no test coverage detected