#6179: html -- doctest failure in sage-4.0.1.alpha0
---------------------+------------------------------------------------------
 Reporter:  was      |       Owner:  tbd       
     Type:  defect   |      Status:  new       
 Priority:  blocker  |   Milestone:  sage-4.0.1
Component:  doctest  |    Keywords:            
---------------------+------------------------------------------------------
 We have the following on 32-bit OS X Intel:

 {{{
 sage -t -long "devel/sage/sage/misc/html.py"
 **********************************************************************
 File "/Users/was/build/sage-4.0.1.alpha0/devel/sage/sage/misc/html.py",
 line 157:
     sage: html.table([(i, j, i == j) for i in [0..1] for j in [0..1]])
 Expected:
     <html>
     <div class="notruncate">
     <table class="table_form">
     <tbody>
     <tr class ="row-a">
     <td><span class="math">0</span></td>
     <td><span class="math">0</span></td>
     <td><span class="math">True</span></td>
     </tr>
     <tr class ="row-b">
     <td><span class="math">0</span></td>
     <td><span class="math">1</span></td>
     <td><span class="math">False</span></td>
     </tr>
     <tr class ="row-a">
     <td><span class="math">1</span></td>
     <td><span class="math">0</span></td>
     <td><span class="math">False</span></td>
     </tr>
     <tr class ="row-b">
     <td><span class="math">1</span></td>
     <td><span class="math">1</span></td>
     <td><span class="math">True</span></td>
     </tr>
     </tbody>
     </table>
     </div>
     </html>
 Got:
     <html>
     <div class="notruncate">
     <table class="table_form">
     <tbody>
     <tr class ="row-a">
     <td><span class="math">0</span></td>
     <td><span class="math">0</span></td>
     <td><span class="math">\mbox{\rm True}</span></td>
     </tr>
     <tr class ="row-b">
     <td><span class="math">0</span></td>
     <td><span class="math">1</span></td>
     <td><span class="math">\mbox{\rm False}</span></td>
     </tr>
     <tr class ="row-a">
     <td><span class="math">1</span></td>
     <td><span class="math">0</span></td>
     <td><span class="math">\mbox{\rm False}</span></td>
     </tr>
     <tr class ="row-b">
     <td><span class="math">1</span></td>
     <td><span class="math">1</span></td>
     <td><span class="math">\mbox{\rm True}</span></td>
     </tr>
     </tbody>
     </table>
     </div>
     </html>
 **********************************************************************
 1 items had failures:

 }}}

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

Reply via email to