mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 10:46:16 +03:00
Lint fixes
This commit is contained in:
parent
51d95add6a
commit
c977526cfe
|
@ -57,8 +57,6 @@ def test_fuzz_fonts(path):
|
||||||
with open(path, "rb") as f:
|
with open(path, "rb") as f:
|
||||||
try:
|
try:
|
||||||
fuzzers.fuzz_font(f.read())
|
fuzzers.fuzz_font(f.read())
|
||||||
except (Image.DecompressionBombError,
|
except (Image.DecompressionBombError, Image.DecompressionBombWarning, OSError):
|
||||||
Image.DecompressionBombWarning,
|
|
||||||
OSError):
|
|
||||||
pass
|
pass
|
||||||
assert True
|
assert True
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
from PIL import Image, ImageDraw, ImageFont
|
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
|
from PIL import Image, ImageDraw, ImageFont
|
||||||
|
|
||||||
from .helper import skip_unless_feature
|
from .helper import skip_unless_feature
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user