[1.7.x] Fix Python 3 incompatability

This commit is contained in:
Andrew Godwin 2014-09-05 15:47:20 -07:00
parent 4ca44d5e10
commit de3a3096d8
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ class GraphTests(TestCase):
root = ("app_a", "1")
graph.add_node(root, None)
expected = [root]
for i in xrange(2, 1000):
for i in range(2, 1000):
parent = ("app_a", str(i - 1))
child = ("app_a", str(i))
graph.add_node(child, None)