(self)
| 262 | "Skipping this test on CI.", |
| 263 | ) |
| 264 | def test_conversion_from_path_using_dir_241(self): # pragma: no cover |
| 265 | start_time = time.time() |
| 266 | with TemporaryDirectory() as path: |
| 267 | images_from_path = convert_from_path( |
| 268 | "./tests/test_241.pdf", output_folder=path |
| 269 | ) |
| 270 | self.assertTrue(len(images_from_path) == 241) |
| 271 | [im.close() for im in images_from_path] |
| 272 | print( |
| 273 | "test_conversion_from_path_using_dir_241: {} sec".format( |
| 274 | (time.time() - start_time) / 241.0 |
| 275 | ) |
| 276 | ) |
| 277 | |
| 278 | @profile |
| 279 | @unittest.skipIf(not POPPLER_INSTALLED, "Poppler is not installed!") |
nothing calls this directly
no test coverage detected