Skip to content

Commit

Permalink
skip jpxdecode test on python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
andersonhc committed Jan 5, 2025
1 parent 947186c commit 64b23ce
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/image/image_types/test_insert_images.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ def test_insert_jpg(tmp_path):
sys.platform in ("cygwin", "win32"),
reason="Required system libraries to generate JPEG2000 images are a PITA to install under Windows",
)
@pytest.mark.skipif(
sys.version_info <= (3, 8),
reason="JPEG2000 changes were done on pillow 11.1.0 which is not available for python 3.8",
)
def test_insert_jpg_jpxdecode(tmp_path):
pdf = fpdf.FPDF()
pdf.compress = False
Expand Down

0 comments on commit 64b23ce

Please sign in to comment.