There was an error while loading. Please reload this page.
1 parent 9191787 commit 4aa051bCopy full SHA for 4aa051b
1 file changed
tests.py
@@ -1749,6 +1749,19 @@ def test_timeout_convert_from_path_241(self):
1749
)
1750
1751
1752
+ @profile
1753
+ def test_pdfinfo_first_and_last_page(self):
1754
+ start_time = time.time()
1755
+ info_first_path = pdfinfo_from_path("./tests/test_14.pdf", first_page=1, last_page=2)
1756
+
1757
+ self.assertIn("Page 1 rot", info_first_path)
1758
1759
+ print(
1760
+ "test_pdfinfo_first_and_last_page: {} sec".format(
1761
+ time.time() - start_time
1762
+ )
1763
1764
1765
1766
if __name__ == "__main__":
1767
unittest.main()
0 commit comments