Skip to content

Commit

Permalink
Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Dec 31, 2022
1 parent 51d95ad commit c977526
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions Tests/oss-fuzz/test_fuzzers.py
Expand Up @@ -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
4 changes: 2 additions & 2 deletions Tests/test_font_crash.py
@@ -1,7 +1,7 @@
from PIL import Image, ImageDraw, ImageFont

import pytest

from PIL import Image, ImageDraw, ImageFont

from .helper import skip_unless_feature


Expand Down

0 comments on commit c977526

Please sign in to comment.