Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Trac 15622: Review commit, fixing a misspelled doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-king-jena committed Jan 3, 2014
1 parent 529f785 commit 2245c02
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sage/graphs/base/static_sparse_backend.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -417,12 +417,12 @@ class StaticSparseBackend(CGraphBackend):
TEST::
sage: from sage.graphs.base.static_sparse_backend import StaticSparseCGraph
sage: g = StaticSparseCGraph(graphs.PetersenGraph())
sage: from sage.graphs.base.static_sparse_backend import StaticSparseBackend
sage: g = StaticSparseBackend(graphs.PetersenGraph())
sage: g.relabel([],True)
Traceback (most recent call last):
...
ValueError: Thou shalt not remove a vertex from an immutable graph
ValueError: Thou shalt not relabel an immutable graph
"""
raise ValueError("Thou shalt not relabel an immutable graph")
Expand Down

0 comments on commit 2245c02

Please sign in to comment.