mirror of
https://github.com/django/django.git
synced 2025-03-31 11:37:06 +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")
|
||||
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user