#6332: optional doctest failure -- jones number field database tests fail
-------------------------------+--------------------------------------------
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/databases/jones.py
**********************************************************************
File "/scratch/wstein/build/sage-4.0.2.alpha3/devel/sage-
main/sage/databases/jones.py", line 21:
sage: [(k.degree(), k.disc()) for k in J.unramified_outside([2])] #
optional - jones_database
Expected:
[(1, 1), (2, 8), (2, -4), (2, -8), (4, 2048), (4, -1024), (4, 512),
(4, -2048), (4, 256), (4, 2048), (4, 2048)]
Got:
[(4, -2048), (2, 8), (4, -1024), (1, 1), (4, 256), (2, -4), (4, 2048),
(4, 512), (4, 2048), (2, -8), (4, 2048)]
**********************************************************************
File "/scratch/wstein/build/sage-4.0.2.alpha3/devel/sage-
main/sage/databases/jones.py", line 27:
sage: [k.disc() for k in J.unramified_outside([2],2)] #
optional - jones_database
Expected nothing
Got:
[8, -4, -8]
**********************************************************************
File "/scratch/wstein/build/sage-4.0.2.alpha3/devel/sage-
main/sage/databases/jones.py", line 34:
sage: [k.disc() for k in J.ramified_at([3,5],3)] #
optional - jones_database
Expected nothing
Got:
[-6075, -6075, -675, -135]
**********************************************************************
File "/scratch/wstein/build/sage-4.0.2.alpha3/devel/sage-
main/sage/databases/jones.py", line 163:
sage: J.unramified_outside([101,119]) # requires optional package
Expected:
[Number Field in a with defining polynomial x - 1, Number Field in a
with defining polynomial x^2 - 101, Number Field in a with defining
polynomial x^4 - x^3 + 13*x^2 - 19*x + 361, Number Field in a with
defining polynomial x^5 - x^4 - 40*x^3 - 93*x^2 - 21*x + 17, Number Field
in a with defining polynomial x^5 + x^4 - 6*x^3 - x^2 + 18*x + 4, Number
Field in a with defining polynomial x^5 + 2*x^4 + 7*x^3 + 4*x^2 + 11*x -
6]
Got:
[Number Field in a with defining polynomial x^2 - 101, Number Field in
a with defining polynomial x^5 + 2*x^4 + 7*x^3 + 4*x^2 + 11*x - 6, Number
Field in a with defining polynomial x - 1, Number Field in a with defining
polynomial x^5 + x^4 - 6*x^3 - x^2 + 18*x + 4, Number Field in a with
defining polynomial x^5 - x^4 - 40*x^3 - 93*x^2 - 21*x + 17, Number Field
in a with defining polynomial x^4 - x^3 + 13*x^2 - 19*x + 361]
**********************************************************************
2 items had failures:
3 of 11 in __main__.example_0
1 of 4 in __main__.example_2
***Test Failed*** 4 failures.
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6332>
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
-~----------~----~----~----~------~----~------~--~---