Commit 82d16f21 authored by Martin Manchev's avatar Martin Manchev

Fixed ' erp5_wendelin_examples ' ...

parent f7d2280c
......@@ -11,7 +11,7 @@ import string
def getRandomString():
return 'test_%s' %''.join([random.choice(string.ascii_letters + string.digits) \
for n in xrange(32)])
for _ in xrange(32)])
# Game of Life examples
default_input_ndarray = np.array([[0,0,0,0,0,0],
......@@ -55,7 +55,7 @@ def game_of_life_out_of_core(self):
transaction.commit()
print_list.append(str(life_area))
for i in range(4):
for _ in range(4):
iterate_2(life_area)
print_list.append(str(life_area))
......@@ -117,7 +117,7 @@ def game_of_life(self):
Z = default_input_ndarray
print_list.append(str(Z))
for i in range(4):
for _ in range(4):
iterate_2(Z)
print_list.append(str(Z))
......
......@@ -39,11 +39,7 @@
<item>
<key> <string>text_content_warning_message</string> </key>
<value>
<tuple>
<string>W: 14, 8: Unused variable \'n\' (unused-variable)</string>
<string>W: 58, 6: Unused variable \'i\' (unused-variable)</string>
<string>W:120, 6: Unused variable \'i\' (unused-variable)</string>
</tuple>
<tuple/>
</value>
</item>
<item>
......
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