From 92c3d626c68ffb49c70da7394f5f19e5c801e3d2 Mon Sep 17 00:00:00 2001 From: Christoph Gohlke Date: Wed, 13 Mar 2013 23:16:25 -0700 Subject: [PATCH] Revert PR #110 --- Tests/test_file_tiff.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Tests/test_file_tiff.py b/Tests/test_file_tiff.py index 45b00d36a..b9beeba34 100644 --- a/Tests/test_file_tiff.py +++ b/Tests/test_file_tiff.py @@ -2,7 +2,6 @@ from tester import * from PIL import Image -from io import BytesIO import random def test_sanity(): @@ -104,9 +103,9 @@ def test_g4_tiff_file(): def test_g4_tiff_stringio(): """Testing the stringio loading code path""" - + import StringIO file = "Tests/images/lena_g4_500.tif" - s = BytesIO() + s = StringIO.StringIO() with open(file,'rb') as f: s.write(f.read()) s.seek(0)