Hi there,

over at http://trac.sagemath.org/ticket/16322 we're fixing all the # optional 
- magma doctest failures.

There's one more to take care off. I'm sure this is trivial to some of you, so 
I am posting it here :)

sage -t --long src/sage/rings/number_field/number_field.py
**********************************************************************
File "src/sage/rings/number_field/number_field.py", line 4568, in 
sage.rings.number_field.number_field.NumberField_generic.galois_group
Failed example:
    NumberField(x^3 + 2*x + 1, 'a').galois_group(algorithm='magma')   # 
optional - magma, , database_gap
Exception raised:
    Traceback (most recent call last):
      File "/bulk/home/malb/software/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 480, in _run
        self.execute(example, compiled, test.globs)
      File "/bulk/home/malb/software/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 839, in execute
        exec compiled in globs
      File "<doctest 
sage.rings.number_field.number_field.NumberField_generic.galois_group[10]>", 
line 1, in <module>
        NumberField(x**Integer(3) + Integer(2)*x + Integer(1), 
'a').galois_group(algorithm='magma')   # optional - magma, , database_gap
      File "cachefunc.pyx", line 1591, in 
sage.misc.cachefunc.CachedMethodCaller.__call__ (sage/misc/cachefunc.c:9194)
      File "cachefunc.pyx", line 2191, in 
sage.misc.cachefunc.CachedMethod._instance_call (sage/misc/cachefunc.c:11887)
      File "/bulk/home/malb/software/sage/local/lib/python2.7/site-
packages/sage/rings/number_field/number_field.py", line 4595, in galois_group
        return GaloisGroup_v2(self, names)
      File "/bulk/home/malb/software/sage/local/lib/python2.7/site-
packages/sage/rings/number_field/galois_group.py", line 184, in __init__
        self._galois_closure, self._gc_map = 
number_field.galois_closure(names=names, map=True)
      File "/bulk/home/malb/software/sage/local/lib/python2.7/site-
packages/sage/rings/number_field/number_field.py", line 7005, in 
galois_closure
        L, self_into_L = self._galois_closure_and_embedding(names)
      File "/bulk/home/malb/software/sage/local/lib/python2.7/site-
packages/sage/rings/number_field/number_field.py", line 6922, in 
_galois_closure_and_embedding
        raise TypeError("You must specify the name of the generator.")
    TypeError: You must specify the name of the generator.

Cheers,
Martin

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to