Skip to content

Commit

Permalink
add missing testfile
Browse files Browse the repository at this point in the history
  • Loading branch information
JorjMcKie committed Oct 3, 2023
1 parent 7fe47ba commit 885f75c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file added tests/resources/test_2596.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion tests/test_general.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ def test_2692():

def test_2596():
"""Cconfirm correctly abandoning cache when reloading a page."""
doc = fitz.Document("resources/test_2596.pdf")
doc = fitz.Document(f"{scriptdir}/resources/test_2596.pdf")
page = doc[0]
pix0 = page.get_pixmap() # render the page
_ = doc.tobytes(garbage=3) # save with garbage collection
Expand Down

0 comments on commit 885f75c

Please sign in to comment.