test case for set_blocks_max

This commit is contained in:
Jayakrishna Menon 2019-03-18 15:13:48 -07:00 committed by Andrew Murray
parent 2acc098cab
commit 590b5b7f9e

View File

@ -105,6 +105,7 @@ class TestCoreMemory(PillowTestCase):
Image.new("RGB", (10, 10))
self.assertRaises(ValueError, Image.core.set_blocks_max, -1)
self.assertRaises(ValueError, Image.core.set_blocks_max, 2**29)
@unittest.skipIf(is_pypy, "images are not collected")
def test_set_blocks_max_stats(self):