#6321: optional doctest failure -- sympow
-------------------------------+--------------------------------------------
Reporter: was | Owner: tbd
Type: defect | Status: new
Priority: major | Milestone: sage-4.0.3
Component: optional packages | Keywords:
Reviewer: | Author:
Merged: |
-------------------------------+--------------------------------------------
{{{
sage -t -long --optional devel/sage/sage/lfunctions/sympow.py
**********************************************************************
File "/scratch/wstein/build/sage-4.0.2.alpha3/devel/sage-
main/sage/lfunctions/sympow.py", line 127:
sage: a = sympow.L(EllipticCurve('11a'), 2, 16); a # optional
Expected:
'1.057599244590958E+00'
Got:
"Inertia Group is C1 MULTIPLICATIVE REDUCTION\nConductor is
11\n**ERROR** P02L not found in param_data file\nIt can be added with
'./sympow -new_data 2'"
**********************************************************************
File "/scratch/wstein/build/sage-4.0.2.alpha3/devel/sage-
main/sage/lfunctions/sympow.py", line 129:
sage: RR(a) # optional -- requires precomputations
Exception raised:
Traceback (most recent call last):
File
"/scratch/wstein/build/sage-4.0.2.alpha3/local/bin/ncadoctest.py", line
1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File
"/scratch/wstein/build/sage-4.0.2.alpha3/local/bin/sagedoctest.py", line
38, in run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File
"/scratch/wstein/build/sage-4.0.2.alpha3/local/bin/ncadoctest.py", line
1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_4[3]>", line 1, in <module>
RR(a) # optional -- requires
precomputations###line 129:
sage: RR(a) # optional -- requires precomputations
File "parent.pyx", line 323, in
sage.structure.parent.Parent.__call__ (sage/structure/parent.c:4130)
File "coerce_maps.pyx", line 82, in
sage.structure.coerce_maps.DefaultConvertMap_unique._call_
(sage/structure/coerce_maps.c:3058)
File "coerce_maps.pyx", line 77, in
sage.structure.coerce_maps._call_ (sage/structure/coerce_maps.c:2949)
File "real_mpfr.pyx", line 379, in
sage.rings.real_mpfr.RealField._element_constructor_
(sage/rings/real_mpfr.c:5241)
File "real_mpfr.pyx", line 983, in
sage.rings.real_mpfr.RealNumber._set (sage/rings/real_mpfr.c:8892)
TypeError: Unable to convert x
(='InertiaGroupisC1MULTIPLICATIVEREDUCTION
Conductoris11
**ERROR**P02Lnotfoundinparam_datafile
Itcanbeaddedwith'./sympow-new_data2'') to real number.
**********************************************************************
1 items had failures:
2 of 4 in __main__.example_4
***Test Failed*** 2 failures.
For whitespace errors, see the file
/home/wstein/build/sage-4.0.2.alpha3/tmp/.doctest_sympow.py
[6.5 s]
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6321>
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
-~----------~----~----~----~------~----~------~--~---