#6649: [with patch, needs review] doctest failure in decorate.py (on OS X only)
-------------------------+--------------------------------------------------
 Reporter:  GeorgSWeber  |       Owner:  GeorgSWeber
     Type:  defect       |      Status:  assigned   
 Priority:  major        |   Milestone:  sage-4.1.1 
Component:  porting      |    Keywords:             
 Reviewer:  mhampton     |      Author:             
   Merged:               |  
-------------------------+--------------------------------------------------

Comment(by mvngu):

 David: The doctest failures you got are, I think, harmless. By definition,
 a non-empty dictionary is made up of a number of key-value pairs, which
 are stored in an arbitrary but non-random order. You can think of a non-
 empty Python dictionary as a set of unordered key-value pairs. From your
 report, I see that there are 3 failures. If you compare
 {{{
 Expected:
     {$1: a, $0: x + y}
 }}}
 with
 {{{
 Got:
     {$0: x + y, $1: a}
 }}}
 you see that these two dictionaries are essentially the same. Again by
 comparison, the dictionaries
 {{{
 Expected:
     {$1: c, $0: b}
 }}}
 and
 {{{
 Got:
     {$0: b, $1: c}
 }}}
 are equivalent, and likewise for
 {{{
 Expected:
     {$1: a*z + b, $0: x + y}
 }}}
 and
 {{{
 Got:
     {$0: x + y, $1: a*z + b}
 }}}
 I would say that you can ignore these 3 failures.

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