#3810: [with patch, positive review] make abelian group list/iter and classgroup
list/iter more modern
---------------------------+------------------------------------------------
 Reporter:  ncalexan       |        Owner:  was       
     Type:  enhancement    |       Status:  new       
 Priority:  minor          |    Milestone:  sage-3.2.2
Component:  number theory  |   Resolution:            
 Keywords:                 |  
---------------------------+------------------------------------------------
Comment (by mabshoff):

 I am seeing one doctest failure with this patch applied on a 64 bit Linux
 box:
 {{{
 sage -t -long "devel/sage/sage/rings/number_field/class_group.py"
 **********************************************************************
 File "/scratch/mabshoff/release-
 cycle/sage-3.2.2.alpha1/devel/sage/sage/rings/number_field/class_group.py",
 line 148, in __main__.example_8
 Failed example:
     list(G)###line 117:_sage_    >>> list(G)
 Expected:
     [Trivial principal fractional ideal class, Fractional ideal class (2,
 1/2*a^2 + a - 1/2), Fractional ideal class (2, 1/2*a^2 + 1/2)]
 Got:
     [Trivial principal fractional ideal class, Fractional ideal class (2,
 1/2*a^2 - a + 3/2), Fractional ideal class (2, 1/2*a^2 + 1/2)]
 **********************************************************************
 File "/scratch/mabshoff/release-
 cycle/sage-3.2.2.alpha1/devel/sage/sage/rings/number_field/class_group.py",
 line 150, in __main__.example_8
 Failed example:
     G.list()###line 119:_sage_    >>> G.list()
 Expected:
     [Trivial principal fractional ideal class, Fractional ideal class (2,
 1/2*a^2 + a - 1/2), Fractional ideal class (2, 1/2*a^2 + 1/2)]
 Got:
     [Trivial principal fractional ideal class, Fractional ideal class (2,
 1/2*a^2 - a + 3/2), Fractional ideal class (2, 1/2*a^2 + 1/2)]
 **********************************************************************
 }}}

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