From de3a3096d89581729d140172a50b3aab6541710f Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Fri, 5 Sep 2014 15:47:20 -0700 Subject: [PATCH] [1.7.x] Fix Python 3 incompatability --- tests/migrations/test_graph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)