Removed unnecessary StringIO dependency from JPEG2K leak test

This commit is contained in:
Josh Ware 2014-08-27 00:15:19 +10:00 committed by wiredfool
parent b78e5444f4
commit bb738aef38

View File

@ -1,7 +1,5 @@
from helper import unittest, PillowTestCase, tearDownModule
import sys
from StringIO import StringIO
from PIL import Image
# Limits for testing the leak
@ -11,6 +9,7 @@ iterations = int((mem_limit/stack_size)*2)
codecs = dir(Image.core)
test_file = "Tests/images/rgb_trns_ycbc.jp2"
@unittest.skipIf(sys.platform.startswith('win32'), "requires Unix or MacOS")
class TestJpegLeaks(PillowTestCase):
def setUp(self):