From bb738aef383a4df46b122cd910a4929a7fd8023c Mon Sep 17 00:00:00 2001 From: Josh Ware Date: Wed, 27 Aug 2014 00:15:19 +1000 Subject: [PATCH] Removed unnecessary StringIO dependency from JPEG2K leak test --- Tests/test_jp2k_leaks.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Tests/test_jp2k_leaks.py b/Tests/test_jp2k_leaks.py index 991a5cbf1..210e9ec62 100644 --- a/Tests/test_jp2k_leaks.py +++ b/Tests/test_jp2k_leaks.py @@ -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):