Skip to content

Commit

Permalink
sagemath#39296: add doctest to make codecov happy
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoudert committed Feb 15, 2025
1 parent 0bf5577 commit bc4eac6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sage/graphs/generic_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -25129,6 +25129,8 @@ class by some canonization function `c`. If `G` and `H` are graphs,
(Graph on 2 vertices, {'a': 0, 'b': 1})
sage: G.canonical_label(algorithm='bliss', certificate=True) # optional - bliss
(Graph on 2 vertices, {'a': 1, 'b': 0})
sage: G.canonical_label(algorithm='bliss', return_graph=False) # optional - bliss
[(1, 0, None)]

Check for immutable graphs (:issue:`16602`)::

Expand Down

0 comments on commit bc4eac6

Please sign in to comment.