mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-16 02:04:45 +03:00
reduce tests memory consumption
This commit is contained in:
parent
72766b8f4e
commit
a9630ecb97
|
@ -4,7 +4,7 @@ from helper import unittest, PillowTestCase
|
||||||
class TestJ2kEncodeOverflow(PillowTestCase):
|
class TestJ2kEncodeOverflow(PillowTestCase):
|
||||||
def test_j2k_overflow(self):
|
def test_j2k_overflow(self):
|
||||||
|
|
||||||
im = Image.new('RGBA', (1024, 131584))
|
im = Image.new('RGBA', (32, 131584))
|
||||||
target = self.tempfile('temp.jpc')
|
target = self.tempfile('temp.jpc')
|
||||||
try:
|
try:
|
||||||
im.save(target)
|
im.save(target)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user