mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 18:06:18 +03:00
Added pragma no cover
This commit is contained in:
parent
83542c42bf
commit
a1b4b026ff
|
@ -172,7 +172,7 @@ def test_short_header():
|
||||||
|
|
||||||
def short_header():
|
def short_header():
|
||||||
with Image.open(BytesIO(img_file[:119])):
|
with Image.open(BytesIO(img_file[:119])):
|
||||||
pass
|
pass # pragma: no cover
|
||||||
|
|
||||||
with pytest.raises(OSError):
|
with pytest.raises(OSError):
|
||||||
short_header()
|
short_header()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user