useless reptile

This commit is contained in:
Eric Soroos 2021-01-07 14:57:49 +01:00
parent 1d7c8e03d0
commit a6fa139f62
4 changed files with 8 additions and 0 deletions

View File

@ -58,6 +58,7 @@ def test_invalid_file():
with pytest.raises(SyntaxError):
EpsImagePlugin.EpsImageFile(invalid_file)
@pytest.mark.valgrind_known_error(reason="Known Failing")
@pytest.mark.skipif(not HAS_GHOSTSCRIPT, reason="Ghostscript not available")
def test_cmyk():

View File

@ -84,6 +84,7 @@ def test_unsupported_mode(tmp_path):
with pytest.raises(ValueError):
im.save(outfile)
@pytest.mark.valgrind_known_error(reason="Known Failing")
def test_save_all(tmp_path):
# Single frame image

View File

@ -1,5 +1,7 @@
from io import BytesIO
import pytest
from PIL import Image
from .helper import skip_unless_feature
@ -38,6 +40,7 @@ def test_read_exif_metadata_without_prefix():
exif = im.getexif()
assert exif[305] == "Adobe Photoshop CS6 (Macintosh)"
@pytest.mark.valgrind_known_error(reason="Known Failing")
def test_write_exif_metadata():
file_path = "Tests/images/flower.jpg"
@ -70,6 +73,7 @@ def test_read_icc_profile():
assert icc == expected_icc
@pytest.mark.valgrind_known_error(reason="Known Failing")
def test_write_icc_metadata():
file_path = "Tests/images/flower2.jpg"
@ -87,6 +91,7 @@ def test_write_icc_metadata():
if webp_icc_profile:
assert webp_icc_profile == expected_icc_profile, "Webp ICC didn't match"
@pytest.mark.valgrind_known_error(reason="Known Failing")
def test_read_no_exif():
file_path = "Tests/images/flower.jpg"

View File

@ -87,6 +87,7 @@ def test_no_resize():
im.thumbnail((64, 64))
assert im.size == (64, 64)
@pytest.mark.valgrind_known_error(reason="Known Failing")
def test_DCT_scaling_edges():
# Make an image with red borders and size (N * 8) + 1 to cross DCT grid