#5811: Sage 3.4.1.rc3: Fedora 10/64 - type_reducible.py doctest failure due to
'__cmp__"
----------------------+-----------------------------------------------------
 Reporter:  mabshoff  |       Owner:  mabshoff  
     Type:  defect    |      Status:  new       
 Priority:  blocker   |   Milestone:  sage-3.4.1
Component:  doctest   |    Keywords:            
----------------------+-----------------------------------------------------
 This is also observable with FC9/64 bit with gcc 4.3.3 on SkyNet
 {{{
 sage -t -long "devel/sage/sage/combinat/root_system/type_reducible.py"
 **********************************************************************
 File
 
"/space/wstein/farm/sage-3.4.1.rc3/devel/sage/sage/combinat/root_system/type_reducible.py",
 line 53:
     sage: [[x.__cmp__(y) for x in ct] for y in ct]
 Expected:
     [[0, 1, -1], [-1, 0, -1], [1, 1, 0]]
 Got:
     [[0, 1, 1], [-1, 0, 1], [1, 1, 0]]
 **********************************************************************
 File
 
"/space/wstein/farm/sage-3.4.1.rc3/devel/sage/sage/combinat/root_system/type_reducible.py",
 line 55:
     sage: sorted(ct)
 Expected:
     [['A', 4], A1xB2, B2xA1]
 Got:
     [A1xB2, B2xA1, ['A', 4]]
 **********************************************************************
 }}}

 Maybe '__cmp__' is broken?

 Cheers,

 Michael

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

Reply via email to