id summary reporter owner description type status priority milestone component resolution keywords cc merged author reviewer upstream work_issues branch commit dependencies stopgaps
27125 py3: fix some doctests in graph.py dcoudert "Fix failing doctests with Python3 in `apex_vertices`, `coloring` and `matching`.
{{{
File ""src/sage/graphs/graph.py"", line 2057, in sage.graphs.graph.Graph.apex_vertices
Failed example:
G.apex_vertices()
Expected:
['x', (2, 2), (3, 3), (1, 1)]
Got:
['x', (1, 1), (3, 3), (2, 2)]
**********************************************************************
File ""src/sage/graphs/graph.py"", line 4158, in sage.graphs.graph.Graph.coloring
Failed example:
P = G.coloring(algorithm=""DLX""); P
Expected:
[[1, 2, 3], [0, 5, 6], [4]]
Got:
[[0, 5, 6], [1, 2, 3], [4]]
**********************************************************************
File ""src/sage/graphs/graph.py"", line 4458, in sage.graphs.graph.Graph.?
Failed example:
g.matching(algorithm=""LP"")
Expected:
[(2, 3, -5), (0, 1, 0)]
Got:
[(0, 1, 0), (2, 3, -5)]
}}}" enhancement closed major sage-8.7 graph theory fixed py3, graph David Coudert Vincent Klein N/A e5534bc5c3aafc5aa8d60490b4635a9f16af3328 e5534bc5c3aafc5aa8d60490b4635a9f16af3328