#7384: SageNB -- Fix Sphinxify doctests
------------------------+---------------------------------------------------
   Reporter:  timdumol  |       Owner:  boothby     
       Type:  defect    |      Status:  needs_review
   Priority:  major     |   Milestone:  sage-4.2.1  
  Component:  notebook  |    Keywords:              
Work_issues:            |      Author:  Tim Dumol   
   Reviewer:            |      Merged:              
------------------------+---------------------------------------------------

Comment(by mpatel):

 I got two test failures:
 {{{
 sage -t  "4.2/devel/sage-main/sage/sphinxify.py"
 **********************************************************************
 File "/home/apps/sage-4.2/devel/sage-main/sage/sphinxify.py", line 51:
     sage: sphinxify('A test')
 Expected:
     '\n<div class="docstring">\n    \n  <p>A test</p>\n\n\n</div>'
 Got:
     '<div class="docstring">\n    \n  <p>A test</p>\n\n\n</div>'
 **********************************************************************
 File "/home/apps/sage-4.2/devel/sage-main/sage/sphinxify.py", line 53:
     sage: sphinxify('**Testing**\n`monospace`')
 Expected:
     '\n<div class="docstring"...<strong>Testing</strong>\n<span
 class="math"...</p>\n\n\n</div>'
 Got:
     '<div class="docstring">\n    \n  <p><strong>Testing</strong>\n<span
 class="math">monospace</span></p>\n\n\n</div>'
 **********************************************************************
 1 items had failures:
    2 of   5 in __main__.example_2
 ***Test Failed*** 2 failures.
 }}}
 But it could be my setup.  If not, please see version 2 of the patch.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7384#comment:2>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to