Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #27811: fix doctest with igraph
Fix the doctest error reported in https://trac.sagemath.org/ticket/27480#comment:78 with a tolerance gap {{{ ********************************************************************** File "src/sage/graphs/generic_graph.py", line 9663, in sage.graphs.generic_graph.GenericGraph.? Failed example: G.pagerank(alpha=0.50, algorithm="igraph") # optional - python_igraph Expected: {0: 0.25, 1: 0.25, 2: 0.24999999999999997, 3: 0.24999999999999997} Got: {0: 0.25, 1: 0.25, 2: 0.25, 3: 0.25} ********************************************************************** 1 item had failures: 1 of 860 in sage.graphs.generic_graph.GenericGraph.? [3497 tests, 1 failure, 50.96 s] ---------------------------------------------------------------------- sage -t --long src/sage/graphs/generic_graph.py # 1 doctest failed }}} URL: https://trac.sagemath.org/27811 Reported by: dcoudert Ticket author(s): David Coudert Reviewer(s): Frédéric Chapoton
- Loading branch information