mirror of
https://github.com/django/django.git
synced 2025-06-04 02:59:13 +00:00
Fix Python 3 incompatability
This commit is contained in:
parent
2145a7782a
commit
3ab36d0046
@ -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…
x
Reference in New Issue
Block a user