Lint fixes

This commit is contained in:
Andrew Murray 2019-06-26 19:09:02 +10:00
parent d591cf8d3f
commit f22198e3bc

View File

@ -105,8 +105,8 @@ class TestCoreMemory(PillowTestCase):
Image.new("RGB", (10, 10))
self.assertRaises(ValueError, Image.core.set_blocks_max, -1)
if sys.maxsize < 2**32:
self.assertRaises(ValueError, Image.core.set_blocks_max, 2**29)
if sys.maxsize < 2 ** 32:
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):