#6312: optional doctest failure -- galois_group
-------------------------------+--------------------------------------------
 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/rings/number_field/number_field.py
 **********************************************************************
 File "/scratch/wstein/build/sage-4.0.2.alpha3/devel/sage-
 main/sage/rings/number_field/number_field.py", line 3107:
     sage: NumberField(x^3 + 2*x + 1, 'a').galois_group(pari_group=False)
 # optional - database_gap
 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_69[15]>", line 1, in <module>
         NumberField(x**Integer(3) + Integer(2)*x + Integer(1),
 'a').galois_group(pari_group=False)    # optional - database_gap###line
 3107:
     sage: NumberField(x^3 + 2*x + 1, 'a').galois_group(pari_group=False)
 # optional - database_gap
     TypeError: galois_group() got an unexpected keyword argument
 'pari_group'
 **********************************************************************
 File "/scratch/wstein/build/sage-4.0.2.alpha3/devel/sage-
 main/sage/rings/number_field/number_field.py", line 3109:
     sage: NumberField(x^3 + 2*x + 1, 'a').galois_group(algorithm='magma')
 # optional - magma, , database_gap
 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_69[16]>", line 1, in <module>
         NumberField(x**Integer(3) + Integer(2)*x + Integer(1),
 'a').galois_group(algorithm='magma')   # optional - magma, ,
 database_gap###line 3109:
     sage: NumberField(x^3 + 2*x + 1, 'a').galois_group(algorithm='magma')
 # optional - magma, , database_gap
       File "/scratch/wstein/build/sage-4.0.2.alpha3/local/lib/python2.5
 /site-packages/sage/rings/number_field/number_field.py", line 3133, in
 galois_group
         return self._galois_group_cached(type, algorithm, names)
       File "/scratch/wstein/build/sage-4.0.2.alpha3/local/lib/python2.5
 /site-packages/sage/misc/cachefunc.py", line 242, in __call__
         cache[key] = self.f(self._instance, *args, **kwds)
       File "/scratch/wstein/build/sage-4.0.2.alpha3/local/lib/python2.5
 /site-packages/sage/rings/number_field/number_field.py", line 3147, in
 _galois_group_cached
         return GaloisGroup_v2(self, names)
       File "/scratch/wstein/build/sage-4.0.2.alpha3/local/lib/python2.5
 /site-packages/sage/rings/number_field/galois_group.py", line 183, in
 __init__
         self._galois_closure, self._gc_map =
 number_field.galois_closure(names=names, map=True)
       File "/scratch/wstein/build/sage-4.0.2.alpha3/local/lib/python2.5
 /site-packages/sage/rings/number_field/number_field.py", line 5103, in
 galois_closure
         L, self_into_L = self._galois_closure_and_embedding(names)
       File "/scratch/wstein/build/sage-4.0.2.alpha3/local/lib/python2.5
 /site-packages/sage/rings/number_field/number_field.py", line 5042, in
 _galois_closure_and_embedding
         L = K.change_names(names)
       File "/scratch/wstein/build/sage-4.0.2.alpha3/local/lib/python2.5
 /site-packages/sage/rings/number_field/number_field.py", line 4679, in
 change_names
         return self.absolute_field(names)
       File "/scratch/wstein/build/sage-4.0.2.alpha3/local/lib/python2.5
 /site-packages/sage/rings/number_field/number_field.py", line 1292, in
 absolute_field
         K = NumberField(self.defining_polynomial(), names, cache=False)
       File "/scratch/wstein/build/sage-4.0.2.alpha3/local/lib/python2.5
 /site-packages/sage/rings/number_field/number_field.py", line 380, in
 NumberField
         raise TypeError, "You must specify the name of the generator."
     TypeError: You must specify the name of the generator.

   ***   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:
    2 of  22 in __main__.example_69
 ***Test Failed*** 2 failures.
 For whitespace errors, see the file
 /home/wstein/build/sage-4.0.2.alpha3/tmp/.doctest_number_field.py
          [20.7 s]
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6312>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to