#8708: allow doctest script to handle docstrings with triple single quotes
---------------------------------------------------------+------------------
Reporter: mvngu | Owner: tbd
Type: enhancement | Status:
needs_review
Priority: blocker | Milestone:
sage-4.7.2
Component: doctest | Keywords:
Work_issues: Rebase on #9739 (and perhaps also 10952). | Upstream: N/A
Reviewer: Burcin Erocal | Author:
John Palmieri
Merged: | Dependencies:
#9739
---------------------------------------------------------+------------------
Comment(by jhpalmieri):
Some things to test:
- First apply the patches from #9739 and #10952.
- Create a file "test.py" (not a Sage library file) and test it with
"sage -t test.py", and also with "sage -t /path/to/test.py". Try before
and after applying [attachment:trac_8708-jhp.v2.patch]. You could just
use [attachment:trac_8708-testing.py], but rename it so the name doesn't
have any hyphens. This file is supposed to have 3 failures.
- Do the same with a file "test.sage". (Just renaming your Python file
to "test.sage" should be good enough.)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8708#comment:12>
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.