We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39e3636 commit 8cc3ac3Copy full SHA for 8cc3ac3
Tests/test_file_libtiff.py
@@ -968,10 +968,11 @@ def test_realloc_overflow(self):
968
assert str(e.value) == "-9"
969
TiffImagePlugin.READ_LIBTIFF = False
970
971
- def test_save_multistrip(self, tmp_path):
+ @pytest.mark.parametrize("compression", ("tiff_adobe_deflate", "jpeg"))
972
+ def test_save_multistrip(self, compression, tmp_path):
973
im = hopper("RGB").resize((256, 256))
974
out = str(tmp_path / "temp.tif")
- im.save(out, compression="tiff_adobe_deflate")
975
+ im.save(out, compression=compression)
976
977
with Image.open(out) as im:
978
# Assert that there are multiple strips
0 commit comments