summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Godwin <andrew@aeracode.org>2014-09-05 15:47:20 -0700
committerAndrew Godwin <andrew@aeracode.org>2014-09-05 15:47:20 -0700
commit3ab36d00462ed2f0563ad9f4dd3be23e3567d481 (patch)
tree8cce13c33cb5388dd0d25f21f6b09e3723c4e274
parent2145a7782a2a0a4902b3cc4bc769010d4e2c337a (diff)
Fix Python 3 incompatability
-rw-r--r--tests/migrations/test_graph.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/migrations/test_graph.py b/tests/migrations/test_graph.py
index 23ec450246..0e26f70cb6 100644
--- a/tests/migrations/test_graph.py
+++ b/tests/migrations/test_graph.py
@@ -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)