mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Lint fixes
This commit is contained in:
parent
d591cf8d3f
commit
f22198e3bc
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue
Block a user