mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36: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():
|
||||
with Image.open(BytesIO(img_file[:119])):
|
||||
pass
|
||||
pass # pragma: no cover
|
||||
|
||||
with pytest.raises(OSError):
|
||||
short_header()
|
||||
|
|
Loading…
Reference in New Issue
Block a user