#4583: implement "sage -t --only-optional"
-------------------------+--------------------------------------------------
Reporter: was | Owner: mabshoff
Type: enhancement | Status: new
Priority: major | Milestone: sage-3.2.1
Component: doctest | Keywords:
-------------------------+--------------------------------------------------
I am going to implement exactly one thing for this ticket:
I will add an option
{{{
sage -t --only-optional=comma,separated,list,of,tags file1.py dir ...
}}}
This would run every doctest block where at least one line in the block
contains
{{{
# optional - set of tags that must be subset of those above
}}}
The complete block would run, but with any # optional's that don't have
tags a subset of the input to sage -t removed.
Also, there is one special case:
{{{
sage -t only-optional
}}}
with no tages. In this case, every doctest block that contains any #
optional's is run. All others are skipped.
This design is joint work with Michael Abshoff.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4583>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---