Skip to content

Commit b682e56

Browse files
tests/: added test_4639().
1 parent 52b9cae commit b682e56

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

tests/resources/test_4639.pdf

28 KB
Binary file not shown.

tests/test_general.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2003,3 +2003,10 @@ def test_4392():
20032003
assert (e2, e3) == (-11, -11)
20042004
elif platform.system() == 'Windows':
20052005
assert (e2, e3) == (0xc0000005, 0xc0000005)
2006+
2007+
2008+
def test_4639():
2009+
path = os.path.normpath(f'{__file__}/../../tests/resources/test_4639.pdf')
2010+
with pymupdf.open(path) as document:
2011+
page = document[-1]
2012+
page.get_bboxlog(layers=True)

0 commit comments

Comments
 (0)