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

Commit

Permalink
Fix doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoeppe committed Apr 24, 2021
1 parent 6c8374e commit 28650bc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/sage/manifolds/subset.py
Original file line number Diff line number Diff line change
Expand Up @@ -1150,7 +1150,7 @@ def declare_empty(self):
sage: B = M.subset('B')
sage: b = B.point(name='b'); b
Point on the 2-dimensional topological manifold M
Point b on the 2-dimensional topological manifold M
sage: B.declare_empty()
Traceback (most recent call last):
...
Expand All @@ -1166,7 +1166,9 @@ def declare_empty(self):
....: return element._name
....: except AttributeError:
....: return '[' + ', '.join(sorted(x._name for x in element)) + ']'
sage: P.plot(element_labels={element: label(element) for element in P}) # not tested
sage: P.plot(element_labels={element: label(element) for element in P})
Graphics object consisting of 14 graphics primitives
"""
if self.has_defined_points():
raise TypeError('cannot be empty because it has defined points')
Expand Down

0 comments on commit 28650bc

Please sign in to comment.