[1.7.x] Fix Python 3 incompatability
This commit is contained in:
parent
4ca44d5e10
commit
de3a3096d8
|
@ -139,7 +139,7 @@ class GraphTests(TestCase):
|
||||||
root = ("app_a", "1")
|
root = ("app_a", "1")
|
||||||
graph.add_node(root, None)
|
graph.add_node(root, None)
|
||||||
expected = [root]
|
expected = [root]
|
||||||
for i in xrange(2, 1000):
|
for i in range(2, 1000):
|
||||||
parent = ("app_a", str(i - 1))
|
parent = ("app_a", str(i - 1))
|
||||||
child = ("app_a", str(i))
|
child = ("app_a", str(i))
|
||||||
graph.add_node(child, None)
|
graph.add_node(child, None)
|
||||||
|
|
Loading…
Reference in New Issue