mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 18:56:17 +03:00
Merge branch 'master' of https://github.com/d-schmidt/Pillow
This commit is contained in:
commit
4107ca3de0
|
@ -9,7 +9,8 @@ if "gif_encoder" not in codecs or "gif_decoder" not in codecs:
|
|||
|
||||
# sample gif stream
|
||||
file = "Images/lena.gif"
|
||||
data = open(file, "rb").read()
|
||||
with open(file, "rb") as f:
|
||||
data = f.read()
|
||||
|
||||
def test_sanity():
|
||||
im = Image.open(file)
|
||||
|
|
Loading…
Reference in New Issue
Block a user