#6312: [with patches, with positive review] optional doctest failure --
galois_group
-------------------------------+--------------------------------------------
Reporter: was | Owner: tbd
Type: defect | Status: new
Priority: major | Milestone: sage-4.1.1
Component: optional packages | Keywords:
Reviewer: | Author:
Merged: |
-------------------------------+--------------------------------------------
Comment(by cremona):
Review: I applied both patches to 4.1 and ran the test on a machine with
magma but (first) without the gap_database installed. This gave a similar
error:
{{{
sage -t -long --optional
"devel/sage/sage/rings/number_field/number_field.py"
**********************************************************************
File
"/home/john/sage-4.1/devel/sage/sage/rings/number_field/number_field.py",
line 3101:
sage: NumberField(x^2+2, 'a').galois_group(type="gap") # optional -
database_gap
Expected:
Galois group Transitive group number 1 of degree 2 of the Number Field
in a with defining polynomial x^2 + 2
Got:
verbose 0 (501: permgroup_named.py, __init__) Warning: Computing with
TransitiveGroups requires the optional database_gap package. Please
install it.
Galois group Transitive group number 1 of degree 2 of the Number Field
in a with defining polynomial x^2 + 2
**********************************************************************
File
"/home/john/sage-4.1/devel/sage/sage/rings/number_field/number_field.py",
line 3103:
sage: NumberField(x^3-2, 'a').galois_group(type="gap") # optional -
database_gap
Expected:
Galois group Transitive group number 2 of degree 3 of the Number Field
in a with defining polynomial x^3 - 2
Got:
verbose 0 (501: permgroup_named.py, __init__) Warning: Computing with
TransitiveGroups requires the optional database_gap package. Please
install it.
Galois group Transitive group number 2 of degree 3 of the Number Field
in a with defining polynomial x^3 - 2
**********************************************************************
File
"/home/john/sage-4.1/devel/sage/sage/rings/number_field/number_field.py",
line 3109:
sage: NumberField(x^3 + 2*x + 1, 'a').galois_group(type="gap")
# optional - database_gap
Expected:
Galois group Transitive group number 2 of degree 3 of the Number Field
in a with defining polynomial x^3 + 2*x + 1
Got:
verbose 0 (501: permgroup_named.py, __init__) Warning: Computing with
TransitiveGroups requires the optional database_gap package. Please
install it.
Galois group Transitive group number 2 of degree 3 of the Number Field
in a with defining polynomial x^3 + 2*x + 1
**********************************************************************
File
"/home/john/sage-4.1/devel/sage/sage/rings/number_field/number_field.py",
line 3111:
sage: NumberField(x^3 + 2*x + 1, 'a').galois_group(type="gap",
algorithm="magma") # optional - magma, database_gap
Expected:
Galois group Transitive group number 2 of degree 3 of the Number Field
in a with defining polynomial x^3 + 2*x + 1
Got:
verbose 0 (501: permgroup_named.py, __init__) Warning: Computing with
TransitiveGroups requires the optional database_gap package. Please
install it.
Galois group Transitive group number 2 of degree 3 of the Number Field
in a with defining polynomial x^3 + 2*x + 1
*** Warning: large Minkowski bound: certification will be VERY long.
*** Warning: large Minkowski bound: certification will be VERY long.
*** Warning: large Minkowski bound: certification will be VERY long.
*** Warning: large Minkowski bound: certification will be VERY long.
**********************************************************************
1 items had failures:
4 of 23 in __main__.example_69
***Test Failed*** 4 failures.
For whitespace errors, see the file
/home/john/sage-4.1/tmp/.doctest_number_field.py
[23.7 s]
exit code: 1024
}}}
I do not know why it is running the test which has the tag # optional -
database_gap. Is that tag formatted correctly?
Then I installed gap_packages-4.4.10_6.spkg. and
database_gap-4.4.10.spkg. After that, the tests in that file all pass
(with long, with and without optional)
Pass!
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6312#comment:5>
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
-~----------~----~----~----~------~----~------~--~---