mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-14 11:26:27 +03:00
Casting the iterations variable to integer
This commit is contained in:
parent
c134e5ab45
commit
bc1e1c148c
|
@ -6,7 +6,7 @@ from PIL import Image
|
||||||
# Limits for testing the leak
|
# Limits for testing the leak
|
||||||
mem_limit = 512*1048576
|
mem_limit = 512*1048576
|
||||||
stack_size = 8*1048576
|
stack_size = 8*1048576
|
||||||
iterations = (mem_limit/stack_size)*2
|
iterations = int(mem_limit/stack_size)*2
|
||||||
codecs = dir(Image.core)
|
codecs = dir(Image.core)
|
||||||
test_file = "Tests/images/rgb_trns_ycbc.jp2"
|
test_file = "Tests/images/rgb_trns_ycbc.jp2"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user