Issue #143 resolved

test.helper.getPage shadowed loop var

Anonymous created an issue

In test/helper.py, within the getPage function, there's a variable named "I" which is used for a counter for the main loop. That var gets rest a couple of places within the loop. Either it needs to be renamed, or a comment needs to be added which explains the odd rebindings.

If it's a shadow, recommend replacing the counter with "for trial in xrange(10):".

Reported by fumanchu@amor.org

Comments (3)

  1. Log in to comment