#12336: The optional doctests in sage/databases/symbolic_data.py are
misformatted
so they are never run
-----------------------+----------------------------------------------------
Reporter: was | Owner: mvngu
Type: defect | Status: new
Priority: minor | Milestone: sage-5.0
Component: doctest | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
-----------------------+----------------------------------------------------
The format for optional tests is:
{{{
sage: the_test # optional - package_or_other_name
}}}
But in databases/symbolic_data.py, we find
{{{
sage: search_src('optional', 'database_symbo')
databases/symbolic_data.py:33: sage: sd = SymbolicData(); sd # optional
requires database_symbolic_data
databases/symbolic_data.py:36: sage: sd.ZeroDim__example_1 # optional
requires database_symbolic_data
databases/symbolic_data.py:39: sage: sd.Katsura_3 # optional requires
database_symbolic_data
...
}}}
Using "requires" doesn't work, though you can optional put that after the
dash.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12336>
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.