Skip to content

Commit

Permalink
Skip test_realloc_overflow unless libtiff 4.0.4 or higher
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere authored and hugovk committed May 17, 2022
1 parent 6fcd31b commit 0153b37
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Tests/test_file_libtiff.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
hopper,
mark_if_feature_version,
skip_unless_feature,
skip_unless_feature_version,
)


Expand Down Expand Up @@ -991,6 +992,7 @@ def test_sampleformat_not_corrupted(self):
with Image.open(out) as im:
im.load()

@skip_unless_feature_version("libtiff", "4.0.4")
def test_realloc_overflow(self):
TiffImagePlugin.READ_LIBTIFF = True
with Image.open("Tests/images/tiff_overflow_rows_per_strip.tif") as im:
Expand Down

0 comments on commit 0153b37

Please sign in to comment.