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

Commit

Permalink
trac 26989 fix doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
Frédéric Chapoton committed Jan 2, 2019
1 parent 361932f commit 85a22d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/sage/matroids/dual_matroid.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,8 +311,7 @@ def _cocircuit(self, X):
sage: sorted(M._cocircuit(set(['a', 'c', 'd'])))
Traceback (most recent call last):
...
ValueError: no circuit in independent set.
ValueError: no circuit in independent set
"""
return self._matroid._circuit(X)

Expand Down
2 changes: 1 addition & 1 deletion src/sage/matroids/matroid.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1472,7 +1472,7 @@ cdef class Matroid(SageObject):
sage: sorted(M.circuit(['a', 'c', 'd']))
Traceback (most recent call last):
...
ValueError: no circuit in independent set.
ValueError: no circuit in independent set
sage: M.circuit(['x'])
Traceback (most recent call last):
...
Expand Down

0 comments on commit 85a22d3

Please sign in to comment.