mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-26 08:40:36 +03:00
Lint fixes
This commit is contained in:
parent
87d1770c18
commit
f2b36a1833
|
@ -4,6 +4,7 @@ import pytest
|
|||
|
||||
from .helper import skip_unless_feature
|
||||
|
||||
|
||||
class TestFontCrash:
|
||||
def _fuzz_font(self, font):
|
||||
# from fuzzers.fuzz_font
|
||||
|
@ -17,5 +18,5 @@ class TestFontCrash:
|
|||
@skip_unless_feature("freetype2")
|
||||
def test_segfault(self):
|
||||
with pytest.raises(OSError):
|
||||
font= ImageFont.truetype('Tests/fonts/fuzz_font-5203009437302784')
|
||||
font = ImageFont.truetype("Tests/fonts/fuzz_font-5203009437302784")
|
||||
self._fuzz_font(font)
|
||||
|
|
Loading…
Reference in New Issue
Block a user