()
| 1841 | print(f'Have created: {path_pixmap}') |
| 1842 | |
| 1843 | def test_4319(): |
| 1844 | # Have not seen this test reproduce issue #4319, but keeping it anyway. |
| 1845 | path = os.path.normpath(f'{__file__}/../../tests/resources/test_4319.pdf') |
| 1846 | doc = pymupdf.open() |
| 1847 | page = doc.new_page() |
| 1848 | page.insert_text((10, 100), "some text") |
| 1849 | doc.save(path) |
| 1850 | doc.close() |
| 1851 | doc = pymupdf.open(path) |
| 1852 | page = doc[0] |
| 1853 | pc = doc.page_count |
| 1854 | doc.close() |
| 1855 | os.remove(path) |
| 1856 | print(f"removed {doc.name=}") |
| 1857 | |
| 1858 | def test_3886(): |
| 1859 | path = os.path.normpath(f'{__file__}/../../tests/resources/test_3886.pdf') |
nothing calls this directly
no test coverage detected
searching dependent graphs…