Commit b7733e92 authored by Nicolas Delaby's avatar Nicolas Delaby

Initialize array with False values


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@42105 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d5c40bb2
...@@ -58,7 +58,7 @@ class TestHighLoad(CloudoooTestCase): ...@@ -58,7 +58,7 @@ class TestHighLoad(CloudoooTestCase):
process_list = [] process_list = []
data = encodestring(open("data/test.doc", 'r').read()) data = encodestring(open("data/test.doc", 'r').read())
LOOP = 50 LOOP = 50
result_list = Array('i', range(LOOP)) result_list = Array('i', [False]*LOOP)
for id in range(LOOP): for id in range(LOOP):
process = Process(target=basicTestToGenerate, args=(id, self.proxy, data, process = Process(target=basicTestToGenerate, args=(id, self.proxy, data,
'doc', 'pdf', 'doc', 'pdf',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment