(self)
| 1294 | @profile |
| 1295 | @unittest.skipIf(not POPPLER_INSTALLED, "Poppler is not installed!") |
| 1296 | def test_conversion_from_pathlib_path_14(self): |
| 1297 | start_time = time.time() |
| 1298 | images_from_path = convert_from_path(pathlib.Path("./tests/test_14.pdf")) |
| 1299 | self.assertTrue(len(images_from_path) == 14) |
| 1300 | print( |
| 1301 | "test_conversion_from_pathlib_path_14: {} sec".format( |
| 1302 | (time.time() - start_time) / 14.0 |
| 1303 | ) |
| 1304 | ) |
| 1305 | |
| 1306 | @profile |
| 1307 | @unittest.skipIf(not POPPLER_INSTALLED, "Poppler is not installed!") |
nothing calls this directly
no test coverage detected