mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-03 05:04:24 +03:00
Don't include test-skipping 'except' in coverage
This commit is contained in:
parent
8ec8d23af4
commit
85e991e5b6
|
@ -21,7 +21,7 @@ def test_libimagequant_quantize():
|
||||||
image = hopper()
|
image = hopper()
|
||||||
try:
|
try:
|
||||||
converted = image.quantize(100, Image.LIBIMAGEQUANT)
|
converted = image.quantize(100, Image.LIBIMAGEQUANT)
|
||||||
except ValueError as ex:
|
except ValueError as ex: # pragma: no cover
|
||||||
if "dependency" in str(ex).lower():
|
if "dependency" in str(ex).lower():
|
||||||
pytest.skip("libimagequant support not available")
|
pytest.skip("libimagequant support not available")
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user