Filter out UserWarning: Truncated File Read

This commit is contained in:
Hugo van Kemenade 2021-08-24 11:03:10 +03:00
parent 2b9e230f76
commit 474270fbd5

View File

@ -40,6 +40,7 @@ from .helper import on_ci
)
@pytest.mark.filterwarnings("ignore:Possibly corrupt EXIF data")
@pytest.mark.filterwarnings("ignore:Metadata warning")
@pytest.mark.filterwarnings("ignore:Truncated File Read")
def test_tiff_crashes(test_file):
try:
with Image.open(test_file) as im: