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
2b9e230f76
commit
474270fbd5
|
@ -40,6 +40,7 @@ from .helper import on_ci
|
||||||
)
|
)
|
||||||
@pytest.mark.filterwarnings("ignore:Possibly corrupt EXIF data")
|
@pytest.mark.filterwarnings("ignore:Possibly corrupt EXIF data")
|
||||||
@pytest.mark.filterwarnings("ignore:Metadata warning")
|
@pytest.mark.filterwarnings("ignore:Metadata warning")
|
||||||
|
@pytest.mark.filterwarnings("ignore:Truncated File Read")
|
||||||
def test_tiff_crashes(test_file):
|
def test_tiff_crashes(test_file):
|
||||||
try:
|
try:
|
||||||
with Image.open(test_file) as im:
|
with Image.open(test_file) as im:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user