Casting the iterations variable to integer

This commit is contained in:
Josh Ware 2014-08-26 13:44:38 +10:00 committed by wiredfool
parent c134e5ab45
commit bc1e1c148c

View File

@ -6,7 +6,7 @@ from PIL import Image
# Limits for testing the leak
mem_limit = 512*1048576
stack_size = 8*1048576
iterations = (mem_limit/stack_size)*2
iterations = int(mem_limit/stack_size)*2
codecs = dir(Image.core)
test_file = "Tests/images/rgb_trns_ycbc.jp2"