336
336
"""Check that merge based sorting and iter_topo_order on graph works."""
337
337
graph = self.make_known_graph(ancestry)
338
338
value = graph.merge_sort(branch_tip)
339
value = [(n.key, n.merge_depth, n.revno, n.end_of_merge)
340
342
self.assertEqualDiff(pprint.pformat(result_list),