Memorize a page location, re-layout with ISO-A4, assert pre-determined location.
()
| 29 | i += 1 |
| 30 | |
| 31 | def test_layout(): |
| 32 | """Memorize a page location, re-layout with ISO-A4, assert pre-determined location.""" |
| 33 | loc = doc.make_bookmark((5, 11)) |
| 34 | doc.layout(pymupdf.Rect(pymupdf.paper_rect("a4"))) |
| 35 | assert doc.find_bookmark(loc) == (5, 6) |
nothing calls this directly
no test coverage detected
searching dependent graphs…