Ticket #12084 (closed defect: fixed)
Restores a test in sage/tests/french_book/number_theory.py
|Reported by:||roed||Owned by:||AlexGhitza|
|Report Upstream:||N/A||Reviewers:||David Loeffler|
|Authors:||David Roe||Merged in:||sage-5.0.beta0|
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.
- Status changed from needs_review to positive_review
- Reviewers set to David Loeffler