mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-03 21:24:31 +03:00
Adjust test so that we get warning, not error
This commit is contained in:
parent
1a1a2ed001
commit
544f76b102
|
@ -48,7 +48,7 @@ class TestDecompressionCrop(PillowTestCase):
|
|||
|
||||
def setUp(self):
|
||||
self.src = hopper()
|
||||
Image.MAX_IMAGE_PIXELS = self.src.height * self.src.width
|
||||
Image.MAX_IMAGE_PIXELS = self.src.height * self.src.width * 4 - 1
|
||||
|
||||
def tearDown(self):
|
||||
Image.MAX_IMAGE_PIXELS = ORIGINAL_LIMIT
|
||||
|
|
Loading…
Reference in New Issue
Block a user