#5653: [with patch, needs work] display docstrings in the notebook using html
and
jsMath
---------------------------+------------------------------------------------
Reporter: jhpalmieri | Owner: jhpalmieri
Type: enhancement | Status: assigned
Priority: major | Milestone: sage-4.1.1
Component: notebook | Keywords:
Reviewer: William Stein | Author: Tom Boothby, Evan Fosmark, John
Palmieri, Mitesh Patel
Merged: |
---------------------------+------------------------------------------------
Comment(by mvngu):
With the patches at #6307, {{{trac_5653_pretty_docstrings_v7.patch}}}
results in the following doctest failures:
{{{
sage -t -long devel/sage-main/sage/misc/sagedoc.py
**********************************************************************
File "/scratch/mvngu/release/sage-4.1.1.alpha0/devel/sage-
main/sage/misc/sagedoc.py", line 156:
sage: detex(r'More math: `x \mapsto y`. {\bf Bold face}.')
Expected:
'More math: `x |--> y`. { Bold face}.'
Got:
'More math: `x |--> y`. {bf Bold face}.'
**********************************************************************
1 items had failures:
1 of 7 in __main__.example_2
***Test Failed*** 1 failures.
For whitespace errors, see the file
/scratch/mvngu/release/sage-4.1.1.alpha0/tmp/.doctest_sagedoc.py
[21.5 s]
<SNIP>
sage -t -long devel/sage-main/sage/misc/sageinspect.py
**********************************************************************
File "/scratch/mvngu/release/sage-4.1.1.alpha0/devel/sage-
main/sage/misc/sageinspect.py", line 446:
sage: sage_getdoc(identity_matrix)[5:43]
Expected:
'Return the `n times n` identity matrix'
Got:
'Return the `n x n` identity matrix ove'
**********************************************************************
1 items had failures:
1 of 4 in __main__.example_8
***Test Failed*** 1 failures.
For whitespace errors, see the file
/scratch/mvngu/release/sage-4.1.1.alpha0/tmp/.doctest_sageinspect.py
[2.2 s]
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5653#comment:54>
Sage <http://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
-~----------~----~----~----~------~----~------~--~---