Skip to content

Commit 38974ab

Browse files
author
opposss
committed
Issue py-pdf#1271 build fixing
1 parent 9a1551e commit 38974ab

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
Binary file not shown.

test/image/image_types/test_insert_images.py

+6-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,12 @@ def test_insert_jpg_lzwdecode(tmp_path):
5656
pdf.set_image_filter("LZWDecode")
5757
pdf.add_page()
5858
pdf.image(HERE / "insert_images_insert_jpg.jpg", x=15, y=15, h=140)
59-
assert_pdf_equal(pdf, HERE / "image_types_insert_jpg_lzwdecode.pdf", tmp_path)
59+
if sys.platform in ("cygwin", "win32"):
60+
assert_pdf_equal(
61+
pdf, HERE / "image_types_insert_jpg_lzwdecode_windows.pdf", tmp_path
62+
)
63+
else:
64+
assert_pdf_equal(pdf, HERE / "image_types_insert_jpg_lzwdecode.pdf", tmp_path)
6065

6166

6267
def test_insert_jpg_cmyk(tmp_path):

0 commit comments

Comments
 (0)