mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 01:04:29 +03:00
Format with Black
This commit is contained in:
parent
30443d39bd
commit
6e86d235c8
|
@ -11,13 +11,12 @@
|
||||||
# `valgrind --tool=memcheck python check_jp2_overflow.py 2>&1 | grep Decode.c`
|
# `valgrind --tool=memcheck python check_jp2_overflow.py 2>&1 | grep Decode.c`
|
||||||
# the output should be empty. There may be python issues
|
# the output should be empty. There may be python issues
|
||||||
# in the valgrind especially if run in a debug python
|
# in the valgrind especially if run in a debug python
|
||||||
# version.
|
# version.
|
||||||
|
|
||||||
|
|
||||||
from PIL import Image
|
from PIL import Image
|
||||||
|
|
||||||
repro = ('00r0_gray_l.jp2', '00r1_graya_la.jp2'
|
repro = ("00r0_gray_l.jp2", "00r1_graya_la.jp2")
|
||||||
)
|
|
||||||
|
|
||||||
for path in repro:
|
for path in repro:
|
||||||
im = Image.open(path)
|
im = Image.open(path)
|
||||||
|
@ -25,5 +24,3 @@ for path in repro:
|
||||||
im.load()
|
im.load()
|
||||||
except Exception as msg:
|
except Exception as msg:
|
||||||
print(msg)
|
print(msg)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user