#11615: optional doctests: clean up and document "known bug", "optional:
requires
PKG"
-----------------------------------+----------------------------------------
Reporter: jhpalmieri | Owner: mvngu
Type: enhancement | Status: needs_review
Priority: minor | Milestone: sage-5.0
Component: doctest | Keywords:
Work_issues: | Upstream: N/A
Reviewer: Karl-Dieter Crisman | Author: John Palmieri
Merged: | Dependencies:
-----------------------------------+----------------------------------------
Changes (by jhpalmieri):
* status: needs_info => needs_review
Comment:
Good point. I've changed the code. Now if I doctest this function:
{{{
#!python
def testing():
"""
EXAMPLES::
sage: 2+2 # optional -- known bug
5
sage: 2+2 # known bug
6
sage: 2+2 # optional
7
"""
pass
}}}
I get three failures with `sage -t ... --optional` and two failures with
`sage -t ... --only-optional=bug`.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11615#comment:5>
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.