Skip to content

Commit 649ff6d

Browse files
tests/: added test_4496().
1 parent 3fe329a commit 649ff6d

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

tests/resources/test_4496.hwpx

13.4 KB
Binary file not shown.

tests/test_general.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1907,3 +1907,9 @@ def test_4564():
19071907
assert document.metadata['producer'] == 'Adobe PSL 1.3e for Canon\x00'
19081908
else:
19091909
assert document.metadata['producer'] == 'Adobe PSL 1.3e for Canon\udcc0\udc80'
1910+
1911+
1912+
def test_4496():
1913+
path = os.path.normpath(f'{__file__}/../../tests/resources/test_4496.hwpx')
1914+
with pymupdf.open(path) as document:
1915+
print(document.page_count)

0 commit comments

Comments
 (0)