mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-27 17:54:32 +03:00
Removed unnecessary StringIO dependency from JPEG2K leak test
This commit is contained in:
parent
b78e5444f4
commit
bb738aef38
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue
Block a user