selftest: enable py3 for samba.tests.kcc.graph_utils
[metze/samba/wip.git] / python / samba / tests / kcc / graph_utils.py
index 2146fc9c7e132bd8b9a9ef5e301339b36513d975..b027838e78f3257e7c56ec74c14040878525189a 100644 (file)
@@ -54,7 +54,7 @@ class UndirectedGraphTests(samba.tests.TestCase):
         vertices2 = tuple('ijk')
         edges = tuple(itertools.combinations(vertices, 2))
         edges2 = tuple(itertools.combinations(vertices2, 2))
-        line_edges = zip(vertices[1:], vertices[:-1])
+        line_edges = list(zip(vertices[1:], vertices[:-1]))
         ring_edges = line_edges + [(vertices[0], vertices[-1])]
 
         tree = make_tree(vertices)