mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 10:16:17 +03:00
Revert PR #110
This commit is contained in:
parent
a6f7b8acb1
commit
92c3d626c6
|
@ -2,7 +2,6 @@ from tester import *
|
||||||
|
|
||||||
from PIL import Image
|
from PIL import Image
|
||||||
|
|
||||||
from io import BytesIO
|
|
||||||
import random
|
import random
|
||||||
|
|
||||||
def test_sanity():
|
def test_sanity():
|
||||||
|
@ -104,9 +103,9 @@ def test_g4_tiff_file():
|
||||||
|
|
||||||
def test_g4_tiff_stringio():
|
def test_g4_tiff_stringio():
|
||||||
"""Testing the stringio loading code path"""
|
"""Testing the stringio loading code path"""
|
||||||
|
import StringIO
|
||||||
file = "Tests/images/lena_g4_500.tif"
|
file = "Tests/images/lena_g4_500.tif"
|
||||||
s = BytesIO()
|
s = StringIO.StringIO()
|
||||||
with open(file,'rb') as f:
|
with open(file,'rb') as f:
|
||||||
s.write(f.read())
|
s.write(f.read())
|
||||||
s.seek(0)
|
s.seek(0)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user