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

Method test_conversion_from_pathlib_path_14

tests.py:1296–1304  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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!")

Callers

nothing calls this directly

Calls 1

convert_from_pathFunction · 0.90

Tested by

no test coverage detected