Update test_file_gif.py

remove warning
This commit is contained in:
David Schmidt 2013-05-23 20:02:19 +03:00
parent d78371cccd
commit 65266a7419

View File

@ -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)