#10953: is_regular yields StopIterator error on empty graph
----------------------------+-----------------------------------------------
Reporter: pgdx | Owner: jason, ncohen, rlm
Type: defect | Status: needs_review
Priority: minor | Milestone:
Component: graph theory | Keywords: regular is_regular empty graph
iterator
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
----------------------------+-----------------------------------------------
Changes (by mjo):
* cc: mjo (added)
Comment:
You should include the ticket number in the doctest.
I would test self.order() rather than len(self) to save the reader from
having to go look up what `__len__` does, but that's just personal taste.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10953#comment:2>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.