#12336: The optional doctests in sage/databases/symbolic_data.py are
misformatted
so they are never run
--------------------------------+-------------------------------------------
Reporter: was | Owner: mvngu
Type: defect | Status: positive_review
Priority: minor | Milestone: sage-5.0
Component: doctest | Keywords:
Work_issues: | Upstream: N/A
Reviewer: Michael Orlitzky | Author: Martin Albrecht
Merged: | Dependencies:
--------------------------------+-------------------------------------------
Old description:
> 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.
New description:
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.
'''apply''' [attachment:trac_12336_symbolic_data.patch]
--
Comment(by jdemeyer):
I guess...
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12336#comment:9>
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.