#9925: Doctest error in sage/graphs/graph.py
---------------------+------------------------------------------------------
Reporter: mpatel | Owner: mvngu
Type: defect | Status: needs_work
Priority: major | Milestone: sage-4.6
Component: doctest | Resolution: worksforme
Keywords: | Author:
Upstream: N/A | Reviewer:
Merged: | Work_issues:
---------------------+------------------------------------------------------
Comment(by ncohen):
> Nathan, you do not *return* error, you just *print* "Error"!
> All that print stuff gets lost when running "sage -t", imho...
Yes, but if the message "Error" is printed and the docstring doesn't
expect it, an error will reported, won't it ? `O_o`
In case of failure, this piece of code will print :
Error !
Everything is fine !
While the code only expects to find "Everything is fine !".
Nathann
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9925#comment:15>
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.