Lint fixes

This commit is contained in:
Andrew Murray 2022-12-31 17:45:09 +11:00
parent 51d95add6a
commit c977526cfe
2 changed files with 3 additions and 5 deletions

View File

@ -57,8 +57,6 @@ def test_fuzz_fonts(path):
with open(path, "rb") as f:
try:
fuzzers.fuzz_font(f.read())
except (Image.DecompressionBombError,
Image.DecompressionBombWarning,
OSError):
except (Image.DecompressionBombError, Image.DecompressionBombWarning, OSError):
pass
assert True

View File

@ -1,7 +1,7 @@
from PIL import Image, ImageDraw, ImageFont
import pytest
from PIL import Image, ImageDraw, ImageFont
from .helper import skip_unless_feature