#12084: Restores a test in sage/tests/french_book/number_theory.py
--------------------------------+-------------------------------------------
   Reporter:  roed              |          Owner:  AlexGhitza
       Type:  defect            |         Status:  new       
   Priority:  minor             |      Milestone:  sage-4.8  
  Component:  basic arithmetic  |       Keywords:            
Work_issues:                    |       Upstream:  N/A       
   Reviewer:                    |         Author:  David Roe 
     Merged:                    |   Dependencies:            
--------------------------------+-------------------------------------------
 Ticket #8334 inappropriately changed the following test in
 `sage/tests/french_book/number_theory.py`:
 {{{
 sage: R = GF(9,name='x'); R
 Finite Field in x of size 3^2
 sage: Q.<x> = PolynomialRing(GF(3))
 sage: R2 = GF(9,name='x',modulus=x^2+1); R2
 Finite Field in x of size 3^2
 sage: p = R(x+1); R2(p)
 Traceback (most recent call last):
 ...
 TypeError: unable to coerce from a finite field other than the prime
 subfield
 }}}
 to instead raise a `NotImplementedError`.  The original behavior was
 restored in #8335, but that ticket has stagnated.

 We add a patch to restore the original error message and type.

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