#12084: Restores a test in sage/tests/french_book/number_theory.py
--------------------------------+-------------------------------------------
Reporter: roed | Owner: AlexGhitza
Type: defect | Status: needs_work
Priority: minor | Milestone: sage-4.8
Component: basic arithmetic | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author: David Roe
Merged: | Dependencies:
--------------------------------+-------------------------------------------
Changes (by davidloeffler):
* status: needs_review => needs_work
Comment:
{{{
File "/storage/masiao/sage-4.8.alpha5/devel/sage-
testing/sage/rings/finite_rings/finite_field_givaro.py", line 327:
sage: F81(F9.gen())
Expected:
Traceback (most recent call last):
...
NotImplementedError
Got:
Traceback (most recent call last):
File "/storage/masiao/sage-4.8.alpha5/local/bin/ncadoctest.py", line
1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File "/storage/masiao/sage-4.8.alpha5/local/bin/sagedoctest.py",
line 38, in run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File "/storage/masiao/sage-4.8.alpha5/local/bin/ncadoctest.py", line
1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_6[50]>", line 1, in <module>
F81(F9.gen())###line 327:
sage: F81(F9.gen())
File "parent.pyx", line 984, in
sage.structure.parent.Parent.__call__ (sage/structure/parent.c:7320)
File "parent.pyx", line 2149, in
sage.structure.parent.Parent.convert_map_from
(sage/structure/parent.c:14043)
File "parent.pyx", line 2156, in
sage.structure.parent.Parent.discover_convert_map_from
(sage/structure/parent.c:14194)
File "parent.pyx", line 2013, in
sage.structure.parent.Parent.coerce_map_from
(sage/structure/parent.c:12824)
File "parent.pyx", line 2064, in
sage.structure.parent.Parent.discover_coerce_map_from
(sage/structure/parent.c:13220)
File "parent_old.pyx", line 501, in
sage.structure.parent_old.Parent._coerce_map_from_
(sage/structure/parent_old.c:6047)
File "/storage/masiao/sage-4.8.alpha5/local/lib/python/site-
packages/sage/rings/finite_rings/finite_field_givaro.py", line 357, in
_coerce_map_from_
raise TypeError, "unable to coerce from a finite field other than
the prime subfield"
TypeError: unable to coerce from a finite field other than the prime
subfield
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12084#comment:3>
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.