mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 01:46:18 +03:00
Filter out UserWarning: Truncated File Read
This commit is contained in:
parent
2f8b3d0ff9
commit
d773fcd23d
|
@ -698,6 +698,8 @@ class TestFileTiff:
|
|||
# Ignore this UserWarning which triggers for four tags:
|
||||
# "Possibly corrupt EXIF data. Expecting to read 50404352 bytes but..."
|
||||
@pytest.mark.filterwarnings("ignore:Possibly corrupt EXIF data")
|
||||
# Ignore this UserWarning:
|
||||
@pytest.mark.filterwarnings("ignore:Truncated File Read")
|
||||
@pytest.mark.skipif(
|
||||
not os.path.exists("Tests/images/string_dimension.tiff"),
|
||||
reason="Extra image files not installed",
|
||||
|
|
Loading…
Reference in New Issue
Block a user